Re: How do XML NameSpace aware processors react to NS definations?

Amit Rekhi (amitr@abinfosys.com)
Wed, 18 Nov 1998 09:01:45 +0530


>If by "validating the namespaces" you mean checking that the prefix used in
the >element or attribute name has been declared, it seems more appropriate
that if the >parser claims to be namespace-aware, it would perform this
task. Similarly, if the >parser was a validating parser, it would also do
any validation.

Assuming that the parser is a validating NS aware parser,
I was wondering what other validations could the parser perform.

* It would be difficult for the parser to validate the content model,
attributes of all the prefixed names against their definations in the DTD
since the Namespace URI only signifies a unique identifier, nothing more.So
validating prefixed names in the way given above would be difficult.
Am I right?
Then what other validations are left which are relevant to namespaces?

Thanks ,

Regards,

AMIT