This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Microsot parser is OK (Was: Re: Copyright symbol in FOP)




> Definitely so. This kind of expression is blamed as non-well-formed n the XML
> Spec, and parsers (even non-validating ones) are obliged to report deviations
> from well-formedness in the whole document including the DTD.

replacement texts of entities are only required to be well formed if
they are referenced, strange but true. (xml spec section 2.1, point 3)

It is arguable that the declaration of lt as "<" in the xmlspec does not
break this rule as the predefined entity takes precedence. That's what
happens with a web sgml system, where lt declared in the sgml
declaration for xml acts as if at the beginning of the local subset.
The xml spec is rather vague on whetehr predefined entities count
for the `first definition wins' rule that applies to normal entity
declarations. 

The declaration of lt as "<" contravenes the prose constraint that lt must 
be declared to be a reference to the < character, but that is not,
as such, a well formedness constraint.

David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]