[LON-CAPA-cvs] cvs: loncom /build piml.dtd

harris41 lon-capa-cvs@mail.lon-capa.org
Sun, 14 Apr 2002 20:35:25 -0000


harris41		Sun Apr 14 16:35:25 2002 EDT

  Modified files:              
    /loncom/build	piml.dtd 
  Log:
  fixing tags, attributes, doctype note and a few syntax things (now validates)
  
  
Index: loncom/build/piml.dtd
diff -u loncom/build/piml.dtd:1.2 loncom/build/piml.dtd:1.3
--- loncom/build/piml.dtd:1.2	Thu Jan 31 12:32:25 2002
+++ loncom/build/piml.dtd	Sun Apr 14 16:35:25 2002
@@ -61,16 +61,16 @@
 -->
 
 <!ENTITY % piml.Version
-        "-//TUX//DTD piml 1.0 Final//EN"
+        "-//TUX//DTD piml 1.0 Final//EN">
 
-        -- Typical usage:
+<!-- Typical usage:
 
-            <!DOCTYPE piml PUBLIC "-//TUX//DTD PIML 1.0 Final//EN">
+            <!DOCTYPE piml PUBLIC "-//TUX//DTD PIML 1.0 Final//EN"
+	    "http://lpml.sourceforge.net/DTD/piml.dtd">
             <piml>
 
             </piml>
-        --
-        >
+ -->
 
 <!ELEMENT categoryname (#PCDATA)>
 <!ELEMENT targetroot (#PCDATA)>
@@ -79,11 +79,14 @@
 <!ATTLIST target
     dist CDATA #REQUIRED
     >
-<!ELEMENT piml (specialnotices|files|categories)+>
-<!ELEMENT specialnotices specialnotice+>
-<!ELEMENT categories category+>
+<!ELEMENT piml (targetroot|specialnotices|files|categories)+>
+<!ELEMENT specialnotices (specialnotice)+>
+<!ELEMENT categories (category)+>
 <!ELEMENT files (file)+>
 <!ELEMENT dependencies (#PCDATA)>
+<!ATTLIST dependencies
+    dist CDATA #REQUIRED
+    >
 <!ELEMENT note (#PCDATA)>
 
 <!ELEMENT specialnotice (#PCDATA)>
@@ -104,4 +107,8 @@
 
 <!ELEMENT file (target,categoryname?,
                 note?,status?,dependencies?,perlscript)>
-<!ELEMENT perlscript (#PCDATA)>
+<!ELEMENT TARGET EMPTY>
+<!ELEMENT perlscript (#PCDATA|TARGET)*>
+<!ATTLIST perlscript
+    mode CDATA #REQUIRED
+    >