Hi,

According with
*** http://www.w3.org/TR/REC-xml#sec-logical-struct ***
This specification does not constrain the semantics, use, or (beyond syntax)
names of the element types and attributes, except that names beginning with
a match to (('X'|'x')('M'|'m')('L'|'l')) are reserved for standardization in
this or future versions of this specification.
***

The following file is reported by Xerces to be both well formed and valid
against the DTD below:

*** XML.xml ***
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE XML SYSTEM "XML.dtd">
<XML/>
***

*** XML.dtd ***
<?xml encoding="UTF-8"?>
<!ELEMENT XML EMPTY>
***

Are there any reasons Xerces does not check for this ?

Best Regards,
 George
----------------------------------------------------------------------------
George Cristian Bina mailto:[EMAIL PROTECTED]
<oXygen/> XML Editor - http://www.oxygenxml.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to