aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-12-27 23:32:43 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-12-27 23:32:43 -0800
commitef0896801e9878dba73622496d28c610af2163e1 (patch)
treed180b2d3966a38a3a29d2eebe5c11c7e26903ac5
parentb6aa0d024aa55d3a122c66998ec6d43f7800ae7f (diff)
dtd - added xmlns attribute to document, fixed typos.
-rw-r--r--CommonMark.dtd6
1 files changed, 4 insertions, 2 deletions
diff --git a/CommonMark.dtd b/CommonMark.dtd
index 2cc403f..dcd1a29 100644
--- a/CommonMark.dtd
+++ b/CommonMark.dtd
@@ -6,6 +6,8 @@
'text|softbreak|linebreak|code|inline_html|emph|strong|link|image|custom_inline'>
<!ELEMENT document (%block;)*>
+<!ATTLIST document
+ xmlns CDATA #FIXED "http://commonmark.org/xml/1.0">
<!-- block elements -->
@@ -40,7 +42,7 @@
<!ELEMENT custom_block (%block;)*>
<!ATTLIST custom_block
on_enter CDATA #IMPLIED
- on_exit CDATA> #IMPLIED>
+ on_exit CDATA #IMPLIED>
<!-- inline elements -->
@@ -75,7 +77,7 @@
<!ELEMENT custom_inline (%inline;)*>
<!ATTLIST custom_inline
on_enter CDATA #IMPLIED
- on_exit CDATA> #IMPLIED>
+ on_exit CDATA #IMPLIED>
<!-- All elements can have a sourcepos attribute.