Joseph, Thank you for your reply. Will you please tell me how to set the SAX parser to present the NS decls as attributes? I need the output from DOM and SAX to be the same.
Thank you! Matt On Feb 27, Joseph Kesselman/CAM/Lotus wrote: ----------------- > >Working as designed. The DOM spec says the namespace declaration attributes >can appear in the tree, with their own namespace URI set to point to the >namespace spec. They don't _have_ to appear, since each element or >attribute carries its own reference to the namespace URI, but they >generally do unless someone explicitly filters them out. > >SAX too presents the namespace declarations as attributes, unless it is >told not to do so. And for the same reason: This makes the data stream >backward-compatable with pre-level-2 code which may have implemented its >own namespace support and needs the declarations as input. > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > -- Matt Leinhos [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
