Re: startPrefixMapping for xmlns?
"Karl Waclawek" <[email protected]> Sun, 25 Apr 2004 14:51:20 -0400
| Newsgroups | gmane.text.xml.sax.devel |
|---|---|
| Message-ID | <003b01c42af6$4c533760$0200a8c0@karlglen188> |
----- Original Message ----- From: "Elliotte Harold" <[email protected]> To: <[email protected]> Sent: Sunday, April 25, 2004 1:46 PM > Here's one I'm not sure of. ContentHandler.startPrefixMapping says > > There should never be start/endPrefixMapping events for the "xml" > prefix, since it is predeclared and immutable. > > What about the xmlns prefix? Should we say something like this: > > Likewise, there should never be start/endPrefixMapping events for the > "xml" prefix, regardless of the setting of the xmlns-uris feature, > because whichever way xmlns-uris is set, the xmlns prefix is predeclared > and immutable. > > Or is this maybe not true, and SAX does fire prefix mapping events for > xmlns? AFAIK declaring xmlns would be a well-formedness error (but not for xml), so it seems unnecessary to state the above. Karl ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 _______________________________________________ List: sax-devel, [email protected] See: http://www.saxproject.org/ https://lists.sourceforge.net/lists/listinfo/sax-devel