>You may disagree with me, but you may not disagree with xml rec, which
says
>"authors SHOULD not" but not "MUST"...

As far as XML is concerned, it's should.

As far as XML Namespaces are concerned, it's must:
   In XML documents which conform to this specification, element types and
   attribute names must match the production for QName and must satisfy the
   "Namespace Constraints".
Essentially, that's a second layer of well-formedness checking. Violating
well-formedness is an error condition, not a warning.

If you use a parser configured to expect documents which conform to the
namespace spec, the latter case applies. If that isn't what you want, use a
parser configured for non-namespace-aware parsing.

If you really need something which will tolerate namespace-ill-formed
documents, I'd suggest you start with a non-NS parser and apply your own
custom not-quite-standard-namespace processing on top of that. (Which is
what people did before parsers supported XML Namespaces, and which is
probably how you got into this situation in the first place...?)


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

Reply via email to