[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xmlns created literally
--On Thursday, February 26, 2009 16:09:30 +0000 Michael Kay wrote:
Section 8 of Namespaces 1.1 says: To conform to this specification, a processor MUST report violations of namespace well-formedness, with the exception that it is not REQUIRED to check that namespace names are legal IRIs. Namespaces 1.0 has essentially the same rule. It seems to me that this ends up meaning that an XML namespace is identified by a string. The comparison is already defined to be case sensitive string comparison. Namespace names that have the form of a relative URI reference are deprecated; as far as I can tell that is because people mistakenly try to interpret them as URI references rather than as strings. Apart form the names of some XPath functions, is there any relationship between namespace names and URIs? Since namespace names do not seem to have any well defined use as URIs would it make sense (apart from the upheaval and reworking) to replace the XPath namespace-uri() and related functions with namespace-name() returning a string and where namespace names are supplied (xsl:namespace etc.) just require a string? -- Owen Rees; speaking personally, and not on behalf of HP. ======================================================== Hewlett-Packard Limited. Registered No: 690597 England Registered Office: Cain Road, Bracknell, Berks RG12 1HN
|
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
|