The point I'm making is that the namespace identifier is sufficient
to determine what XML is valid, since you can determine the
corresponding schema, whether expressed in RelaxNG or XML Schema.
We are not using DTD.
Thus, I fail to see what this has to do with another label. We
don't have profile labels in SIP presence, for example, and the
problem is pretty much the same.
On Apr 25, 2007, at 9:47 AM, Andrew Newton wrote:
XML validity and XML namespaces are separate features. XML
validity, in the form of DTDs, existed before XML namespaces. It
just so happens that the more modern XML schema languages, such as
Relax NG and XML Schema, account for XML namespaces and allow the
validity to check the namespace, which wasn't possible with DTDs.
However, validation checking will not solve this problem, as each
XML fragment is valid against its schema. This means such
validation must be done by the application.
-andy