[jdom-interest] validation problems using b9-rc1?

Ben Rogers svenjamin at yahoo.com
Fri Apr 11 12:59:22 PDT 2003


> Except that the stack trace shows he is now using
> Crimson and not Xerces at
> all.  Try setting up your JAXP to use Xerces and see
> what happens.

Sorry, I should have included the original stack
trace.  I have also attached my xml and xsd files
(which both reside in my "working dir" when i execute
my program)

org.jdom.input.JDOMParseException: Error on line 2 of
document file:/D:/eclipse/workspace/Tool/src/Tool.xml:
Document is invalid: no grammar found.
	at
org.jdom.input.SAXBuilder.build(SAXBuilder.java:377)
	at
org.jdom.input.SAXBuilder.build(SAXBuilder.java:724)
	at
org.jdom.input.SAXBuilder.build(SAXBuilder.java:703)
	at
com.ibm.tool.suite.SuiteControler.parseInputFile(SuiteControler.java:154)
	at
com.ibm.tool.suite.SuiteControler.<init>(SuiteControler.java:62)
	at com.ibm.tool.MainClass.runTool(MainClass.java:61)
	at com.ibm.tool.MainClass.main(MainClass.java:49)
Caused by: org.xml.sax.SAXParseException: Document is
invalid: no grammar found.
	at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
	at
org.jdom.input.SAXBuilder.build(SAXBuilder.java:370)
	... 6 more
Caused by: org.xml.sax.SAXParseException: Document is
invalid: no grammar found.
	at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
	at
org.jdom.input.SAXBuilder.build(SAXBuilder.java:370)
	at
org.jdom.input.SAXBuilder.build(SAXBuilder.java:724)
	at
org.jdom.input.SAXBuilder.build(SAXBuilder.java:703)
	at
com.ibm.tool.suite.SuiteControler.parseInputFile(SuiteControler.java:154)
	at
com.ibm.tool.suite.SuiteControler.<init>(SuiteControler.java:62)
	at com.ibm.tool.MainClass.runTool(MainClass.java:61)
	at com.ibm.tool.MainClass.main(MainClass.java:49)
Caused by: org.xml.sax.SAXParseException: Document is
invalid: no grammar found.
	at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
	at
org.jdom.input.SAXBuilder.build(SAXBuilder.java:370)
	at
org.jdom.input.SAXBuilder.build(SAXBuilder.java:724)
	at
org.jdom.input.SAXBuilder.build(SAXBuilder.java:703)
	at
com.ibm.tool.suite.SuiteControler.parseInputFile(SuiteControler.java:154)
	at
com.ibm.tool.suite.SuiteControler.<init>(SuiteControler.java:62)
	at com.ibm.tool.MainClass.runTool(MainClass.java:61)
	at com.ibm.tool.MainClass.main(MainClass.java:49)


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Tool.xml
Type: text/xml
Size: 720 bytes
Desc: Tool.xml
Url : http://jdom.org/pipermail/jdom-interest/attachments/20030411/a6e4876a/Tool.xml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Tool.xsd
Type: text/xml
Size: 3480 bytes
Desc: Tool.xsd
Url : http://jdom.org/pipermail/jdom-interest/attachments/20030411/a6e4876a/Tool-0001.xml


More information about the jdom-interest mailing list