[xslt] [libxslt 10102] Problem with the --novalid param of xsltproc



Hi,

I'm using xsltproc (on Cygwin) :
Using libxml 20604, libxslt 10102 and libexslt 802
xsltproc was compiled against libxml 20604, libxslt 10102 and libexslt 802
libxslt 10102 was compiled against libxml 20604
libexslt 802 was compiled against libxml 20604

Here is the command line I use :
xsltproc --load-trace --nonet --novalid link2sommairesimple.xsl 1.xml > sommairesimple.html

The XML file has a DTD declaration that looks like :
<!DOCTYPE NewsML SYSTEM "http://foo.bar/NewsMLv1.0.dtd"; [
  <!ENTITY % xhtml SYSTEM "http://foo.bar/xhtml1-strict.dtd";>
  %xhtml;
	]>

The xsltproc shows me some errors I think I shouldn't see :
Loaded URL="link2sommairesimple.xsl" ID="(null)"
Loaded URL="1.xml" ID="(null)"
I/O error : Attempt to load network entity http://foo.bar/xhtml1-strict.dtd
1.xml:4: warning: failed to load external entity "http://foo.bar/xhtml1-strict.dtd";
  %xhtml;
         ^
Entity: line 1:
 %xhtml;
        ^

Did I choose bad parameters, or is there a problem with the --novalid parameter?

Thanks.

Bruno Verachten



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