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

Re: Namespaces conformance tests

Re:  Namespaces conformance tests
>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"?

In theory, the rules about such prefixes would be written by the
specifications that defined them.  Since there isn't any special
dispensation allowing them to be used undeclared, I would expect such
specifications to say that they must be declared.

In fact, I think it's very unlikely that there would ever be any such
new prefixes defined.  The xml prefix is special for historical
reasons, and the xmlns prefix is the syntax for bootstrapping the
whole namespace mechanism.  There is no need for any more magic

>Also, I am not sure if your test cases 27 and 28 reflect this erratum.
>Both are labelled as invalid, but look OK to me, unless of course,
>I don't understand the specs correctly?

They're just invalid because they haven't got DTDs.  In the test suite
description, "invalid" means "well-formed but invalid".

-- Richard


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.
First Name
Last Name
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.