Validation Results for announcement_dtd.txt

A list of error and warning messages follows along with (if needed, and if supplied) a line-numbered dump of the original document from the first up through the last erroneous line.


Errors:

line 35, announcement_dtd.txt:
error (1152): element violates enclosing tag's content model: course (expecting: [nothing])

Warnings:

line 17, announcement_dtd.txt:
warning (652): element has more than one attlist declaration: course

Original Document:

line 15:  <!ELEMENT course(#PCDATA)>
line 16:  <!ATTLIST course number CDATA #REQUIRED>
line 17:  <!ATTLIST course instructor CDATA #IMPLIED>
line 18:  ]>
line 19:  
line 20:  <announcement>
line 21:   <distribution category="For Immediate Release">
line 22:   <to>All Potential Students</to>
line 23:   <from>Red Skelton - VP Academic Affairs</from>
line 24:   </distribution>
line 25:   <head>
line 26:   <subject>Public Course Offerings in January</subject>
line 27:   <notice>SRJC is pleased to announce the following
line 28:   public courses, which are offered on a monthly basis at its
line 29:   main campus in Santa Rosa.</notice>
line 30:   </head>
line 31:   <more_info>For more information, or to register for any of these courses,
line 32:   please visit <website>http://www.santarosa.edu/courses</website></more_info>
line 33:   <courses>
line 34:   <course number="XML101" instructor="Larry Trettin">Introduction to XML</course>
line 35:   <course number="XML102" instructor="Robert Rose">Advanced XML</course>
line 36:   <course number="XSLT101" instructor="Fred Wong">XSLT for Web Developers</course>
line 37:   <course number="XPATH101" instructor="Brian Samuals">XPath for Web Developers</course>
etc.


Xmlparse exit status = 4.

1