OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: attribute values as qnames?

[ Lists Home | Date Index | Thread Index ]
  • From: "Mark D. Anderson" <mda@discerning.com>
  • To: xml-dev@ic.ac.uk
  • Date: Fri, 24 Dec 1999 16:07:33 -0600

This issue is now freaking me out less, now that I've concluded
that any processor will either:

- expand prefixes for *both* its control info (stylesheet, etc.)
and the document instance(s)
- not expand any, in either place

So if I just make sure I use the same prefix as the source
document, I stand a chance of being immune if I switch from
a processor that does not treat them as qnames, to
a different processor (or version) which decides it will.

The other trick I've seen in a few places, which I might
use, is to use an entity instead of a prefix:
  <el myattr="&someprefix;keyword"/>
I can just set in one place whether that someprefix is a prefix
or a full URI.
That approach also would allow me to be both forward and
backward looking, my favorite pasttime.

-mda

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS