How do XML NameSpace aware processors react to NS definations?

Amit Rekhi amitr at abinfosys.com
Wed Nov 18 05:40:33 GMT 1998


>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




xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list