Re: An Invalid xpath expression xsl:template/@match node is ignored
Daniel Veillard <[email protected]> Fri, 7 Sep 2012 14:32:34 +0800
| Newsgroups | gmane.comp.gnome.lib.xslt |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Aug 09, 2012 at 01:48:16PM +0200, Vincent Lefevre wrote: > On 2012-08-09 19:38:50 +0800, Daniel Veillard wrote: > > On Tue, Jul 31, 2012 at 02:42:42PM +0200, Nicolas Delaby wrote: > > > $ xsltproc xpath-typo.xsl document.xml > > > error: file xpath-typo.xsl line 10 element template > > > xsltCompilePattern : NULL pattern > > > <?xml version="1.0"?> > > > <result><bug/><bug/></result> > > > $ echo $? > > > 0 > [...] > > > Is it a bug ? Should I open a ticket in bug tracker ? > > > > Sounds like a bug, I will try to reproduce and fix it, > > It is not the only place libxslt doesn't signal a proper error. > See also: > > https://bugzilla.gnome.org/show_bug.cgi?id=680938 > > where here, libxslt doesn't signal any error. Okay, fixed in git now ! thanks, Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ [email protected] | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/