So you are advocating the creation of a schema that glues the two
different schemas together, so it can be validated via the XML
namespace? If so, ok. But that is just one step further than a
profile identifier.
-andy
On Apr 25, 2007, at 11:14 PM, Henning Schulzrinne wrote:
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