[Home] [By Thread] [By Date] [Recent Entries]

  • To: <jcowan@r...>
  • Subject: RE: qName/localName confusion
  • From: "Michael Kay" <michael.h.kay@n...>
  • Date: Thu, 18 Mar 2004 00:10:42 -0000
  • Cc: <xml-dev@l...>
  • In-reply-to: <20040317221100.GM29558@s...>
  • Thread-index: AcQMbKi6derfYI0aTJeTtUt44t2fEwAEAvhw

# How much overhead is involved in setting the 
# namespace-prefixes feature?
# I agree that testing whether it actually worked is over the 
# top, but just turning on the feature should be No Big Deal.

Firstly, turning on the feature might fail. I don't know how many parsers
don't support the feature; I would have to decide whether to support such
parsers or not; I would have to test the code that handles such a failure.

Secondly, the parser would then give me namespace declarations in the
attributes list that I'm not interested in. It would presumably have to do
extra work to put them there, and I would have to do extra work to take them
out again.

Incidentally, I do occasionally get errors from parsers that don't support
the features that every parser is required to support. These "parsers"
usually turn out to be user-written filters.

Michael Kay


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member