SAX parsing using DefaultHandler converts all text to lowercase

aeyvetara

New Member
I am using DefaultHandler to parse out InputStream which is XML based. It works fine but with one exception. All the characters are converted to lowercase.For example if my xml has a element like VALUE, what I see after parsing is value(instead of VALUE).Any clues how can I get the values in parsing the original case ( Uppercase instead of lowercase ) ?\[code\]public void endElement(String uri, String name, String qName) throws SAXException { try { if(name.equalsIgnoreCase("taga")){ System.err.println("value parsed .. "+_objBuffer.toString()); } catch (Exception e) {}}public void characters(char[] ch, int start, int length) throws SAXException { try{ _objBuffer.append(ch, start, length); } catch(Exception e) {}}\[/code\]
 
Back
Top