Re: [xml] regression: xslt stylesheet not parsed correctly



On Sat, Aug 19, 2006 at 11:00:56PM -0600, Brent Smith wrote:
Brent Smith wrote:
Running xsltproc from HEAD, I get the following error:

smitten home:/extra/cvs/gnome2/gnome-doc-utils/xslt/xsldoc$ xsltproc 
xsldoc.xsl asdf
compilation error: file xsldoc.xsl line 22 element stylesheet
element stylesheet only allowed only as root element

smitten home:/extra/cvs/gnome2/gnome-doc-utils/xslt/xsldoc$ xsltproc 
--version
Using libxml 20626-CVS2830, libxslt 10117-CVS1075 and libexslt 813-CVS1075
xsltproc was compiled against libxml 20626, libxslt 10117 and libexslt 813
libxslt 10117 was compiled against libxml 20626
libexslt 813 was compiled against libxml 20626
smitten home:/extra/cvs/gnome2/gnome-doc-utils/xslt/xsldoc$ xmllint 
--version
xmllint: using libxml version 20626-CVS2830
    compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 
FTP HTTP DTDValid HTML Legacy C14N Catalog XPath XPointer XInclude Iconv 
ISO8859X Unicode Regexps Automata Expr Schemas Schematron Modules Debug Zlib
smitten home:/extra/cvs/gnome2/gnome-doc-utils/xslt/xsldoc$

Prior versions (my version in /usr/bin) do not have this problem.

Let me know if I should file a bug, or if I'm doing something stupid.

Thanks,


duh, here's the xsldoc.xsl file.

  yup, this looks like a bug, or at best the error message is just wrong.
This need to be fixed before the next release, thanks for testing HEAD, 
could you enter this in bugzilla ?

  thanks !

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/



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