[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Namespace conformance & SAX2
- From: Jonathan Borden <firstname.lastname@example.org>
- To: Rob Lugt <email@example.com>, Chris Nokleberg <firstname.lastname@example.org>,email@example.com
- Date: Sat, 19 May 2001 18:37:06 -0400
Rob Lugt wrote:
> Yes, perhaps my wording was unfortunate. How about if I reword my
> explanation like so:-
> "Syntax errors are well-formedness errors in XML 1.0 and well-formedness
> errors are reported as fatal errors. Therefore, it follows that syntax
> errors on the QName or NCName productions should be reported as
> fatal errors
> to be consistent."
no. XML 1.0 does not define a 'syntax error' as a well-formedness error. see
http://www.w3.org/TR/REC-xml#sec-well-formed. Well-formedness constraints
applicable to XML are defined in the XML 1.0 rec, not in any other document.
These are labelled "WFC" in the spec. Similarly "Namespace Constraints" are
labelled "NSC" in the namespace spec. Do a grep and you'll see.