Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#344187: libgnujaxp-java: Doesn't accept relative URI as SystemID in entities

0 views
Skip to first unread message

Jiri Palecek

unread,
Dec 20, 2005, 2:20:10 PM12/20/05
to
X-Debbugs-CC: Jiri Palecek <jpal...@web.de>
Package: libgnujaxp-java
Version: 1.3-4
Severity: normal

There is a MalformedURLException when using relative URI for
entity's SystemID.

The relative URI indeed isn't valid URL, however the XML 1.0
standard allows URI refernces as SystemIDs.

java.net.MalformedURLException: no protocol: blurbs.txt
at java.net.URL.<init>(URL.java:567)
at java.net.URL.<init>(URL.java:464)
at java.net.URL.<init>(URL.java:413)
at gnu.xml.aelfred2.SAXDriver.absolutize(SAXDriver.java:656)
at gnu.xml.aelfred2.XmlParser.parseEntityDecl(XmlParser.java:2199)
at gnu.xml.aelfred2.XmlParser.parseMarkupdecl(XmlParser.java:974)
at gnu.xml.aelfred2.XmlParser.parseDoctypedecl(XmlParser.java:881)
at gnu.xml.aelfred2.XmlParser.parseProlog(XmlParser.java:540)
at gnu.xml.aelfred2.XmlParser.parseDocument(XmlParser.java:427)
at gnu.xml.aelfred2.XmlParser.doParse(XmlParser.java:177)
at gnu.xml.aelfred2.SAXDriver.parse(SAXDriver.java:362)
at gnu.xml.aelfred2.XmlReader.parse(XmlReader.java:311)
at jaxp.SAXMain.main(SAXMain.java:45)


-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.13
Locale: LANG=cs_CZ.ISO-8859-2, LC_CTYPE=cs_CZ.ISO-8859-2 (charmap=ISO-8859-2)

Versions of packages libgnujaxp-java depends on:
ii libgnujaxp-jni 1.3-4 native bindings for gnujaxp to lib
ii sun-j2sdk1.5 [java2-runti 1.5.0+update06 Java(TM) 2 SDK, Standard Edition,

libgnujaxp-java recommends no packages.

-- no debconf information
______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Wolfgang Baer

unread,
Dec 20, 2005, 4:20:15 PM12/20/05
to
Hi Jiri,

Jiri Palecek wrote:
> There is a MalformedURLException when using relative URI for
> entity's SystemID.
>
> The relative URI indeed isn't valid URL, however the XML 1.0
> standard allows URI refernces as SystemIDs.

Do you have or can make a simple testcase we can use to forward
the problem upstream ? Same would be nice for the other bug you
reported (#344183).

GnuJaxp is now fully merged into GNU classpath so we currently
check if there will be separate releases as external package in the
future. If you can provide testcases I would like to test against
GNU classpath CVS to see if it might be fixed already.

Thanks for using debian,
Wolfgang

0 new messages