classpathx-xml
[Top][All Lists]
Advanced

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

Re: [Classpathx-xml] possible bug?


From: Nic Ferrier
Subject: Re: [Classpathx-xml] possible bug?
Date: 14 Apr 2002 01:43:49 +0100

David Brownell <address@hidden> writes:

> > <!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?   

Hmmm... something does seem to be going wrong (considering our
conversation the other day).

Here's what the source/CVS/Root file says:

        address@hidden:/cvsroot/classpathx

I hope that's right because that's what it should be as far as I'm
concerned.

Can you confirm what your stuff is checked out from?

 
> > 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. 

Also, I've tired setting the parser to non-validating and it still
tries to get the URL. That's really wrong I think but xerces (at
least the version I've got) does it too.


Nic




reply via email to

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