[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Namespace conformance & SAX2
Actually, any parser is trivially conformant with the namespace spec if it completely ignores those constraints. The conformance constraint is for documents only ... meaning, document creation facilities are the only ones constrained. Some of my review comments for the namespace spec requested (repeatedly!) clarification on what XML processors need to do, but it wasn't forthcoming (over several spec iterations). So it was clear to me that the relevant W3C folk didn't want to require XML processors to do anything. Would you propose that such constraints be reported as fatal errors (WFness violations), nonfatal ones (like validity problems and a few other random errors), warnings, or something else? - Dave ----- Original Message ----- From: "Chris Nokleberg" <chris@s...> To: <xml-dev@l...> Sent: Friday, May 18, 2001 10:28 AM Subject: Namespace conformance & SAX2 > The Namespace spec adds additional conformance constraints beyond XML 1.0: > * All element types and attribute names contain either zero or one colon. > * No entity names, PI targets, or notation names contain any colons. > > Is a non-validating SAX2 parser required to check these constraints? > My suggestion is that it should be required to check iff the > http://xml.org/sax/features/namespaces feature is true. > > Thanks, > Chris >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|