[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Classpathx-xml] problem with SYSTEM entities
From: |
Egon Willighagen |
Subject: |
[Classpathx-xml] problem with SYSTEM entities |
Date: |
Sat, 2 Feb 2002 11:53:17 +0100 |
Hi all,
i rather new to the GNUJAXP implementation of SAX2 and was wondering about
the following.
Consider this XML doc:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//Norman Walsh//DTD Slides XML V1.1//EN"
"../../lib/dtd/docbookx.dtd" [
<!ENTITY intro SYSTEM "introduction.xml">
]>
<article id="cdk_article" status="draft">
<articleinfo>
<title>Some Article</title>
<authorgroup>
<author>
<firstname>Egon</firstname>
<othername>L.</othername>
<surname>Willighagen</surname>
</author>
</authorgroup>
</articleinfo>
&intro;
</article>
when i parse it with Aelfred2 i get this error:
About to parse test.xml...
java.net.MalformedURLException: no protocol: introduction.xml
This seems to refer to <!ENTITY intro SYSTEM "introduction.xml">...
Parsing this doc with other parsers (nsgmls, xerces) gives no problem,
and AFAIK it is indeed correct XML code...
I am using the release of 22 november last year.
Is this a bug in the Aelfred2 parser? How can i solve this problem?
kind regards,
Egon Willighagen
- [Classpathx-xml] problem with SYSTEM entities,
Egon Willighagen <=