Skip to content

Commit

Permalink
some DTD fixes and <code> as a toplevel element for .c and .h code sn…
Browse files Browse the repository at this point in the history
…ippets
  • Loading branch information
Hartmut Holzgraefe committed Feb 28, 2003
1 parent cd98ed7 commit b042f45
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions scripts/ext_skel_ng/extension.dtd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
-->

<!ELEMENT extension (name|summary|description|license|maintainers|logo|release|changelog|functions|constants|globals|deps|resources)*>
<!ELEMENT extension (name|summary|description|license|maintainers|logo|release|changelog|functions|constants|globals|deps|resources|code)*>

<!ELEMENT name (#PCDATA)>

Expand All @@ -13,9 +13,9 @@

<!ELEMENT maintainer (user|role|name|email)*>

<!ELEMENT logo>
<!ELEMENT logo (#PCDATA)>
<!ATTLIST logo
src CDATA #REQURED
src CDATA #REQUIRED
>

<!ELEMENT user (#PCDATA)>
Expand Down Expand Up @@ -46,7 +46,9 @@
>
<!ELEMENT proto (#PCDATA)>
<!ELEMENT code (#PCDATA)>

<!ATTLIST code
role (header|code) "code"
>
<!ELEMENT constants (constant)*>
<!ELEMENT constant (#PCDATA)>
<!ATTLIST constant
Expand Down Expand Up @@ -85,7 +87,7 @@
>

<!ELEMENT resources (resource)*>
<!ELEMENT resource (destruct)?>
<!ELEMENT resource (description?, destruct?)>
<!ATTLIST resource
name CDATA #REQUIRED
payload CDATA #IMPLIED
Expand Down

0 comments on commit b042f45

Please sign in to comment.