XMLType DTD Non-Validating [message #134966] |
Mon, 29 August 2005 04:08 |
marrec
Messages: 35 Registered: May 2005 Location: Mühlheim, Germany
|
Member |
|
|
hi,
i'm trying to load a xml-file into my database.
this working very well, but i've probs with the euro sign €.
i use an inline DTD in my xml-file, but only with the euro-entity, so that the DTD is always invalid:
<!DOCTYPE XML_Exchange
[
<!ENTITY eur "€">
]>
Now I got an Error during Parsing, so i set validation-mode to false. Parsing works now!
I get the document from the parser and write it to a clob.
Then i want to save the clob a xmltype-column:
INSERT INTO XML_TAB(XMLCOL) VALUES ( XMLTYPE(l_clob));
Now, when writing into the table, i always get a parsing-error. i tried using xmltype(l_clob,NULL,0,0)
or
xmltype(l_clob,NULL,1,0) for the validated flag, but it doesn't.
does anybody know how i can insert an invalid (and already parsed) document into an xmltype column?
greetz
marrec
|
|
|