Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Oracle Xml DOM Parser : how to parse (low) ASCII-characters

Oracle Xml DOM Parser : how to parse (low) ASCII-characters

From: Zvika F. <zferentz_at_hotmail.com>
Date: 27 Nov 2003 08:01:54 -0800
Message-ID: <ef78e11f.0311270801.7dd8965e@posting.google.com>


Hi,
i was trying to use the (java) Oracle xml DOM-parser to parse XML document that contains some ASCII-characters (0x7 , 0x1 ,...) , but it didn't work .

i tried doing it in some ways :     

<MyElement>hello &#x01</MyElement>
<MyElement>goodbye &#1</MyElement>

or even tryied to send the character itself as pure-ascii . nothing works .

When trying to parse the stream ( with DOMParser.prase(InputStream) ) I get the following exception:

          oracle.xml.parser.v2.XMLParseException: Bad Character (1)

I would appreciate any help...
thank you in advacned,
Zvi Fer
ferents_at_cs.bgu.ac.il , zferentz_at_hotmail.com Received on Thu Nov 27 2003 - 10:01:54 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US