[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AND (Another Namespace Dilemma) ... DTD Validation
- From: Ronald Bourret <rpbourret@rpbourret.com>
- To: xml-dev <xml-dev@lists.xml.org>
- Date: Thu, 09 Aug 2001 23:58:31 -0700
"Thomas B. Passin" wrote:
> XML-Schema will not
> understand if you change that prefix in the middle of a document, though.
Are you referring to a change of prefix in the schema document or the
XML document itself? There shouldn't be any problems with changing
prefixes in the XML document itself. By the time the validator sees the
name, it should be URI + local name -- not a prefix in sight.
(I'm not sure about prefixes used in attribute values in an XML schema
document, but I also thought that these simply used the in-scope
namespaces. If so, there wouldn't be any problem changing prefixes
mid-document, as long as the QNames in the attribute values used the
currently valid prefix.)
-- Ron