Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Re: Dependencies between attributes and elements >Thread Next - Merging schemas Why does the default namespace not apply to attributes?To: <xmlschema-dev@--.---> Date: 8/16/2007 3:33:00 PM =0A= =0A= All,=0A= =0A= =0A= =0A= The=0A= following question is about the rationale for the difference in approach=0A= between elements and attributes with regard to namespaces.=0A= =0A= =0A= =0A= In order to=0A= promote reuse of XML artifacts within our organization, a set of=0A= recommendations has been specified for XML Schema documents design. One of = the=0A= recommendations is that every XML Schema document should have a target=0A= namespace. However, after some experiments and investigation we learnt that= =0A= this namespace does not apply to attributes, which means that the use of a= =0A= target namespace results in attributes and elements being in different conc= eptual=0A= spaces, which seems counter-intuitive. =0A= =0A= =0A= =0A= We have=0A= been wondering what could be the rationale behind this, but couldn=92t find= the=0A= answer. Hopefully, you can provide it or you know where to search for it.= =0A= =0A= =0A= =0A= Moreover,=0A= if you can provide us any directions on the best approach (i.e. set attrib= uteFormDefault to =93qualified=94,=0A= use global attribute declarations, or else) with respect to reusability, th= is=0A= would be more than welcome.=0A= =0A= =0A= =0A= Thanks in=0A= advance,=0A= =0A= Nanda _________________________________________________________________ Make every IM count. Download Windows Live Messenger and join the i=92m Ini= tiative now. It=92s free.=A0 http://im.live.com/messenger/im/home/?source=TAGWL_June07= | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
