[xslt] Bug: standalone attribute not recognized in XML declaration



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


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