George Cristian Bina wrote:
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.

_reserved_, but it is not a well-formedness or validity constraint. Only processing instruction target cannot match (('X'|'x')('M'|'m')('L'|'l')).


The following file is reported by Xerces to be both well formed and valid

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

Are there any reasons Xerces does not check for this ?

There is no reason to check this since such constraint is not defined for element names.




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



Reply via email to