[jdom-interest] JDOM and Oracle V2 Parser ?

Augenstein augenstein at hpe.fzk.de
Thu Mar 29 01:12:48 PST 2001


                      Hi all,

                      i have tried to use JDOM from http://www.jdom.org 
beta 6 with the OracleV2DOMAdapter
                      with no success.
                      With the Xerces parser it works fine.
                      ----
                      E:\WWW\Jdom\beta6\jdom-b6>java
samples.DOMBuilderDemo samples/contents.xml
                      I use: org.jdom.adapters.XercesDOMAdapter
                      <?xml version="1.0" encoding="UTF-8"?>
                      <!DOCTYPE JavaXML:Book><?xml-stylesheet ....etc
                      --------------------------------------------

                      When i change to the Oracle v2 parser the
following error occurs: 


                      E:\WWW\Jdom\beta6\jdom-b6>java
samples.DOMBuilderDemo samples/contents.xml org.j
                      dom.adapters.OracleV2DOMAdapter
                      I use: org.jdom.adapters.OracleV2DOMAdapter
                      org.jdom.IllegalTargetException: The target "xml"
is not legal for JDOM/XML Proc
                      essing Instructions: Processing instructions
cannot have a target of "xml" in an
                      y combination of case.
                      at
org.jdom.ProcessingInstruction.<init>(ProcessingInstruction.java:136)

                      at
org.jdom.input.DOMBuilder.buildTree(DOMBuilder.java:485)
                      at
org.jdom.input.DOMBuilder.buildTree(DOMBuilder.java:398)
                      at
org.jdom.input.DOMBuilder.build(DOMBuilder.java:359)
                      at
samples.DOMBuilderDemo.testBuilder(DOMBuilderDemo.java:136)
                      at
samples.DOMBuilderDemo.main(DOMBuilderDemo.java:175)
                      -------

                      Can anybody help me ?

                      Thanks 
                      Achim
-- 
-----------------------------------

A. Augenstein
Forschungszentrum Karlsruhe
Technik & Umwelt
HPE-Bau 441
Hermann-von-Helmholtz-Platz 1
76344 Eggenstein-Leopoldshafen
Germany
Tel. 0049-(0)-7247-825677
Fax. 0049-(0)-7247-824972
email: augenstein at hpe.fzk.de

--------------------------------------------------------------------------------------------



More information about the jdom-interest mailing list