[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Namespaces conformance tests


Re:  Namespaces conformance tests


Karl Waclawek wrote:
> 
> ...
> 
> I read this as meaning that such prefixes are not illegal per se.
> But I am confused about how to treat declarations.
> "xml" may, but does not need to be declared.
> "xmlns must not be declared.
> But what about the other prefixes with leading characters "xml"?
> I would tend to think they should be treated like "xml", that is,
> declaration optional, but must be to the correct namespace.
> If no mapping to a namespace defined yet (in specifications), then
> do not reject, but feel free to issue a warning.

the only exceptions made to the requirement that a prefix must be be bound are those concerning the prefixes xml and xmlns. the phrase "processors must not
treat [all other prefixes beginning with the three-letter sequence x, m, l] as fatal errors" permits the appearance of such prefixes as the ncname of a
prefixedattname and as a prefix in a qname. there is nothing in the passage which parallels the assertion which is made with respect to the xml prefix, this is,
that "[i]t may, but need not, be declared," which would mean that the exceptions do not govern the appearance of such an unbound prefix. which mean the the
normal constraints would apply to them.

...

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.