Unqualified element in XSD definition

M

mavis

Unqualified element in XSD definition

For some reason, we may need to define elements in XSD to be
"unqualified".


According to the design patterns of XSD, it seems they do not recommend

to define elements in this way....it seems it will influence XPATH /
XSLT, etc...


Anyone has any experience on this? Any problem will be caused by
unqualified elements?


Thanks a lot for your advices!
 
J

Joe Kesselman

The purpose of namespaces is to leave room for your XML-based language
to be intermixed with other XML-based languages. Using unqualified names
increases the risk of conflicting definitions.

Think about whether you, or your customers, will ever be in the position
of wanting to do this -- for example, embedding your documents as the
body of a SOAP message. Unless you can say "no" with absolute certainty,
you really should stick with namespace-qualified element names.

Namespaces are a basic part of XML these days. Get used to them.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top