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

Re: ns 1.1


Re:  ns 1.1
Hi Mike,

On Tue, 2004-03-23 at 18:23, Mike Fitzgerald wrote:
> This feels like a dumb question, but I am not clear on an issue.Section 
> 7 of Namespaces in XML 1.1 reads:
> 
> "This specification applies to XML 1.1 documents. To conform to this 
> specification, a document /MUST/ be well-formed according to the XML 1.1 
> specification." [1]
> 
> Namespaces 1.1 supports xmlns="". Can I undeclare a namespace in an XML 
> 1.0 document or must it be an XML 1.1 document? 

The snippet that you've included above is pretty clear that Namespaces
in XML 1.1 only applies to XML 1.1 documents, for XML 1.0, you must look
for an answer in Namespaces in XML 1.0 that says [2]:

"The default namespace can be set to the empty string. This has the same
effect, within the scope of the declaration, of there being no default
namespace. "

[2] http://www.w3.org/TR/1999/REC-xml-names-19990114/#defaulting

> Or does it simply depend on the processor?

The above statement let me think that it shouldn't...

Eric 

> Mike
> 
> [1] http://www.w3.org/TR/2004/REC-xml-names11-20040204/#Conformance
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>
-- 
If you have a XML document, you have its schema.
                                                  http://examplotron.org
Upcoming XML schema languages tutorial:
 - Santa Clara  -half day- (15/03/2004)        http://masl.to/?J24916E96
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------


  • References:
    • ns 1.1
      • From: Mike Fitzgerald <mikefz@w...>

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.