Re: [xslt] An Invalid xpath expression xsl:template/@match node is ignored



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.

-- 
Vincent Lefèvre <vincent vinc17 net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


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