Brett McLaughlin wrote: > > I just hopped on the list (I've been offline for a while) so forgive me in > advance if this has been asked and answered (possibly multiple times). > > I just pulled down the latest distribution of Xerces (1.0.2) and am seeing > some strange behavior from startElement() using > org.apache.xerces.parsers.SAXParser as an XMLReader implementation. > > The rawName gets reported correctly, e.g. the complete > namespaceURI:localName element name. However, both localName and > namespaceURI come up blank. My XML has namespace prefixes on all elements, > but nothing else is even remotely unusual about the document. > > Is this a noted bug, or am I getting unexpected behavior? TIA. > > ----- > Brett McLaughlin > Metro Information Systems > Work: (972) 724-3161 > Mobile: (817) 825-7187
Works fine for me when configured in this way: SAXParser p=new SAXParser(); p.setFeature("http://xml.org/sax/features/namespaces",true); -- -------------------------------------------------------------------- - P I E R - stable structure erected over water to allow the docking of seacraft <mailto:[EMAIL PROTECTED]> <http://www.betaversion.org/~pier/> -------------------------------------------------------------------- - ApacheCON Y2K: Come to the official Apache developers conference - -------------------- <http://www.apachecon.com> --------------------