[Home] [By Thread] [By Date] [Recent Entries]
"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
|

Cart



