White Space Required (XML Parse Exception)
Hi,
I am using Oracle XDK 9.2.0.5.0, trying to parse an XML document. Making a subtle change to the document suddenly results in a:
oracle.xml.parser.v2.XMLParseException: Whitespace required.
exception. Does anyone have a clue where that exception can come from?
The Java code responsible for invoking the parse operation is as follows:
InputSource input = new InputSource( new FileInputStream(fileName)
DOMParser xp = new DOMParser();
xp.setValidationMode(xp.NONVALIDATING);
xp.setPreserveWhitespace(true);
xp.parse(input);
This works for many files, but not all.
Your help is highly appreciated.
Note: where is documentation on parse errors to be found?
best regards,
Lucas Jellema (AMIS)