Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


namespaces support decision table

From: "Shlomo Yona" <S.Yona@--.--->
To: <xml-dev@-----.---.--->
Date: 5/30/2007 5:33:00 AM
<span style='font-size:10.0pt;
font-family:Arial'>Hello,<o:p></o:p>

<span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p>

<span style='font-size:10.0pt;
font-family:Arial'>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<o:p></o:p>

<span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p>

<span style='font-size:10.0pt;
font-family:Arial'>a. Name is qualified in XML Schema: yes/no<o:p></o:p>

<span style='font-size:10.0pt;
font-family:Arial'>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)<o:p></o:p>

<span style='font-size:10.0pt;
font-family:Arial'>c. Prefix for name is defined in XML document: yes/no<o:p></o:p>

<span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p>

<span style='font-size:10.0pt;
font-family:Arial'>There are 8 possibilities for the above criterions.<o:p></o:p>

<span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p>

<span style='font-size:10.0pt;
font-family:Arial'>An error should be issued (not necessarily same error in all
cases) in all cases except for the following three:<o:p></o:p>

<span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p>

<span style='font-size:10.0pt;
font-family:Arial'>a==b==c==0<o:p></o:p>

<span style='font-size:10.0pt;
font-family:Arial'>a==1 b==0 c==1<o:p></o:p>

<span style='font-size:10.0pt;
font-family:Arial'>a==1 b==1 c==1<o:p></o:p>

<span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p>

<span style='font-size:10.0pt;
font-family:Arial'>My question is, are these indeed all possibilities? Are
there other factors that need to be considered? Is my understanding correct?<o:p></o:p>

<span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p>

<span style='font-size:10.0pt;
font-family:Arial'>Thanks.<o:p></o:p>

<span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p>

<span style='font-size:10.0pt;
font-family:Arial'>Shlomo.<o:p></o:p>


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent