A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
org.xml.sax.SAXException: Error while parsing
Joined: Apr 03, 2007
Apr 03, 2007 10:21:00
I have a problem in parsing xml file using JAXP SAXParser.
I recieve the following error message while parsing Date/number element in my xml file.
org.xml.sax.SAXException: Error while parsing FinActivityDate 2006-08-
start position in character array:2040
In our DTD file we specified the field as (#PCDATA),ByteArrayInputStream is used as inputsource for parse method
parser.parse(new InputSource(new ByteArrayInputStream(responseInBytes)),sAXHandler);
some of the records in xml are parsed successfully but throws SAXException when the buffer size reaches (1024*n) bytes(or chunk of character data)from here it is not able to parse the xml further..what could be the issue.
Joined: Oct 14, 2005
Apr 03, 2007 11:41:00
"Praveen sdj", welcome to JavaRanch.
We're a friendly group, but we do require members to have
valid display names
Display names must contain your first name, a space, then your last name. Fictitious names are not allowed.
edit your profile
and correct your display name since accounts with invalid display names will be deleted.
subject: org.xml.sax.SAXException: Error while parsing
Ignoring DOCTYPE tag in java
location of xsd file
XML Parsing with international characters
xml as byte array
The entity "nbsp" was referenced, but not declared
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014