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

RE: namespaces support decision table

  • From: "Shlomo Yona" <S.Yona@F...>
  • To: "Shlomo Yona" <S.Yona@F...>,<xml-dev@l...>
  • Date: Tue, 29 May 2007 23:08:04 -0700

RE:  namespaces support decision table

Hello,

 

One addition to this: if I have no XML Schema  does this mean that the ``a’’ column is meaningless?

For example

 

If I have no schema, is the following OK, with regards to namespaces, or not?

 

<a>

   <b/>

   <b xmlns=”foo”/>

</a>

 

<a> and the first <b> are not qualified, and the second <b> is qualified.

 

Does this make sense? I mean, if there’s no schema, does it means that every name is unqualified unless it is qualified explicitly qualified? (this sorts of sounds like a tautology…)

 

Shlomo.

 


From: Shlomo Yona [mailto:S.Yona@f...]
Sent:
ã 30 îàé 2007 08:33
To: xml-dev@l...
Subject: namespaces support decision table

 

Hello,

 

I am trying to understand the impact of schema hints and evidence from XML documents on the proper handling of namespaces. Here is what I came up with

 

a. Name is qualified in XML Schema: yes/no

b. Name is prefixed in XML document: yes/no (default namespace is also considered as a prefix, the empty string prefix, for this discussion’s sake)

c. Prefix for name is defined in XML document: yes/no

 

There are 8 possibilities for the above criterions.

 

An error should be issued (not necessarily same error in all cases) in all cases except for the following three:

 

a==b==c==0

a==1 b==0 c==1

a==1 b==1 c==1

 

My question is, are these indeed all possibilities? Are there other factors that need to be considered? Is my understanding correct?

 

Thanks.

 

Shlomo.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.