classpathx-xml
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Classpathx-xml] possible bug?


From: David Brownell
Subject: Re: [Classpathx-xml] possible bug?
Date: Sat, 13 Apr 2002 17:36:32 -0700

> <!DOCTYPE mydoc PUBLIC "-//TetraSix//DTD mydoc v1.1//EN" "mydoc.dtd" [
> ...
> java.net.MalformedURLException: no protocol: mydoc.dtd
>         at java.net.URL.<init>(URL.java:473)
>         ...
>         at gnu.xml.dom.JAXPFactory$JAXPBuilder.parse(JAXPFactory.java:170)

In my copy, line 170 is a comment in the middle of the JAXPBuilder constructor,
not JAXPBuilder.parse() ...


>         at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:71)

Hmm, in my copy, line 71 is a comment, not a call to a parser ...
what version of the JAXP (and GNUJAXP) classes are you using?  


> I don't think a protocol is necessary is it? For an embedded DTD?

Err, no it isn't ... because it came from the URL that DocumentBuilder
is supposed to provide.

- Dave





reply via email to

[Prev in Thread] Current Thread [Next in Thread]