Hi,

This perfectly correct XML file (according to xmllint):

  <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
  <!DOCTYPE a PUBLIC "-//A//EN" "">
  <a />

Cannot be processed by xsltproc with this oputput:

  a.xml:1: parser error : parsing XML declaration: '?>' expected
   standalone="yes"?>
   ^

Which is a bug.  Version info: libxml 20607, libxslt 10102 and libexslt 802

If I remove the DOCTYPE line, no error happens.

With best regards,
Alexander Pohoyda
_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
[email protected]
http://mail.gnome.org/mailman/listinfo/xslt

Reply via email to