Re: Namespaces (and validation)

james anderson (James.Anderson@mecomnet.de)
Thu, 06 Aug 1998 15:19:39 +0200


MURATA Makoto wrote:
> ...
> Historically, we have always assumed that it should be possible to
> validate an XML document with namespaces with validating parsers of XML 1.0.
> This is not the case, any more. Since the same prefix can be bound to
> different namespaces, it is no longer possible to construct an equivalent
> XML 1.0 DTD from a collection of namespace-schema pairs.

please give an example.

if the 19980802 spec were refined to include the requisite mechanism for
binding prefixes outside of the root element along with the anscilliary
scoping rules, then this should be possible.

the implicit pi binding mechanism and dynamic scope rule of the earlier draft
were, in any event, sufficient.

that is to say, the implementation of the validation component of an xml
processor did not require any changes to operate on the output of a parser
which was extended to conform to the 19980327 namespace wd.