Altova Mailing List Archives>Archive Index >xml-dev Archive Home >Recent entries >Thread Prev - >Thread Next - RE: [xml-dev] namespaces support decision table namespaces support decision tableTo: <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> | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
