I'm trying to parse a very simple xml document with
xerces 2.4.0.  Unfortunately I get the following
error:

java.net.MalformedURLException
        at java.net.URL.<init>(URL.java:613)
        at java.net.URL.<init>(URL.java:476)
        at java.net.URL.<init>(URL.java:425)
        at
org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
Source)
        at
org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
Source)
        at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
        at
org.apache.xerces.parsers.XMLParser.parse(Unknown
Source)
        at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
        at
org.jdom.input.SAXBuilder.build(SAXBuilder.java:354)
        at
org.jdom.input.SAXBuilder.build(SAXBuilder.java:673)

The document:
<?xml version="1.0"?>
<!DOCTYPE EventRegistrations SYSTEM
"file:///C:\temp\projects\EventRegistrations.dtd">
<EventRegistrations>
        <event name="test.events.BusinessObjectChangeEvent">
                <listener>test.ObjectCreationListener</listener>
        </event>
</EventRegistrations>

Passes validation in my xml editor.  What's going on?

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to