List Info

Thread: regression: xslt stylesheet not parsed correctly




regression: xslt stylesheet not parsed correctly
user name
2006-08-20 04:57:58
Running xsltproc from HEAD, I get the following error:

smittenhome:/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

smittenhome:/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
smittenhome:/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
smittenhome:/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,

-- 
Brent Smith <gnomenextreality.net>
IRC: smitten
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xmlgnome.org
http://mai
l.gnome.org/mailman/listinfo/xml
regression: xslt stylesheet not parsed correctly
user name
2006-08-20 05:00:56
Brent Smith wrote:
> Running xsltproc from HEAD, I get the following error:
> 
> smittenhome:/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
> 
> smittenhome:/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
> smittenhome:/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
> smittenhome:/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.

-- 
Brent Smith <gnomenextreality.net>
IRC: smitten
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xmlgnome.org
http://mai
l.gnome.org/mailman/listinfo/xml
regression: xslt stylesheet not parsed correctly
user name
2006-08-21 08:47:49
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:
> > 
> > smittenhome:/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
> > 
> > smittenhome:/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
> > smittenhome:/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
> > smittenhome:/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/v
irtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillardredhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ |
Rpmfind RPM search engine  http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xmlgnome.org
http://mai
l.gnome.org/mailman/listinfo/xml
regression: xslt stylesheet not parsed correctly
user name
2006-08-21 08:47:49
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:
> > 
> > smittenhome:/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
> > 
> > smittenhome:/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
> > smittenhome:/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
> > smittenhome:/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/v
irtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillardredhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ |
Rpmfind RPM search engine  http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xmlgnome.org
http://mai
l.gnome.org/mailman/listinfo/xml
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )