xerces-j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Malinin <i...@widespace.ee>
Subject Re: Names beginning with a match to (('X'|'x')('M'|'m')('L'|'l'))
Date Mon, 15 Dec 2003 15:26:38 GMT
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: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org


Mime
View raw message