RE: [xslt] xsltproc failed



No problem here:
bill billsuper ~/gnomecvs/work $ xsltproc --version
Using libxml 20624, libxslt 10116 and libexslt 813
xsltproc was compiled against libxml 20624, libxslt 10116 and libexslt 813
libxslt 10116 was compiled against libxml 20624
libexslt 813 was compiled against libxml 20624
bill billsuper ~/gnomecvs/work $ valgrind xsltproc --novalid
stylesheet.xsl data.xml >xsltout
==11542== Memcheck, a memory error detector.
==11542== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==11542== Using LibVEX rev 1575, a library for dynamic binary translation.
==11542== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==11542== Using valgrind-3.1.1, a dynamic binary instrumentation framework.
==11542== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==11542== For more details, rerun with: -v
==11542==
==11542==
==11542== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 31 from 1)
==11542== malloc/free: in use at exit: 160 bytes in 1 blocks.
==11542== malloc/free: 3,200 allocs, 3,199 frees, 546,045 bytes allocated.
==11542== For counts of detected errors, rerun with: -v
==11542== searching for pointers to 1 not-freed blocks.
==11542== checked 155,700 bytes.
==11542==
==11542== LEAK SUMMARY:
==11542==    definitely lost: 160 bytes in 1 blocks.
==11542==      possibly lost: 0 bytes in 0 blocks.
==11542==    still reachable: 0 bytes in 0 blocks.
==11542==         suppressed: 0 bytes in 0 blocks.
==11542== Use --leak-check=full to see details of leaked memory.
bill billsuper ~/gnomecvs/work $

Bill

Buchcik, Kasimier wrote:
>
>
>> -----Original Message-----
>> From: John Russell [mailto:jbr onlywebdata com]
>> Sent: Monday, May 22, 2006 10:26 PM
>> To: Buchcik, Kasimier; The Gnome XSLT library mailing-list
>> Subject: Re: [xslt] xsltproc failed
>>
>> Here are a couple of files to reproduce this problem.
>> Suspected fault is with
>>
>> <xht:option value="{dyn:evaluate(@loc)}">
>>
>> If this is a known bug and a patch/upgrade is available
>> please let me know.
>
> There's no problem with the scenario using the CVS HEAD. Neither
> the standard, nor the refactored code produce an error or segfault.
>
> If someone could try this with the latest release, that would
> be kind.
>
> I get:
>
> xsltproc stylesheet.xsl data.xml
> <?xml version="1.0"?>
> <!DOCTYPE xht:html PUBLIC "-//W3C//DTD XHTML 1.0 transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.
> dtd">
> <xht:html xmlns:xht="http://www.w3.org/1999/xhtml";
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi=
> "http://www.w3.org/2001/XMLSchema-instance";
> xmlns:xs="http://www.w3.org/2001/XMLSchema";
> xmlns="http://blueberry.onlywebd
> ata.com/xml/xsd/owd_data.xsd"
> xmlns:owddate="http://blueberry.onlywebdata.com/xml/xsd/owd_date.xsd";
> xmlns:owdxsl="http:/
> /blueberry.onlywebdata.com/xml/xsd/page.xsd"
> xmlns:def="http://blueberry.onlywebdata.com/xml/xsd/perkins_definition.x
> sd"
>  xmlns:d="http://blueberry.onlywebdata.com/xml/xsd/owd_data.xsd";
> xmlns:addr="http://blueberry.onlywebdata.com/xml/xsd/ad
> dress.xsd" xmlns:xforms="http://www.w3.org/2002/xforms";
> xmlns:ev="http://www.w3.org/2001/xml-events"; xmlns:card="http://
> blueberry.onlywebdata.com/xml/xsd/creditcard.xsd"
> xmlns:bank="http://blueberry.onlywebdata.com/xml/xsd/owd_bank.xsd"; xml
> ns:xalan="http://xml.apache.org/xalan";>
>   <xht:head>
>     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
> />
> </xht:head>
>   <xht:body>
>     <xht:div id="header">
>       <xht:div class="nav">
>         <xht:ul>
>           <xht:li>
>             <xht:a href="menu.menu">Home</xht:a>
>           </xht:li>
>           <xht:li>
>             <xht:a href=".zpa_usr.menu_items?show_rtnbar=Y">Parameter
>                 Menu</xht:a>
>           </xht:li>
>           <xht:li>
>             <xht:a href=".zpa_dba.zpadesc?useXSL=57168">List of
>                 Parameters</xht:a>
>           </xht:li>
>           <xht:li>
>             <xht:a href="?useMETHOD=57176&amp;useXSL=57167">Create a New
>                   Parameter</xht:a>
>           </xht:li>
>           <xht:li class="last">
>             <xht:a
> href="?useMETHOD=57176&amp;useXSL=57167">Refresh</xht:a>
>           </xht:li>
>         </xht:ul>
>       </xht:div>
>     </xht:div>
>     <xht:div class="clear"></xht:div>
>     <xht:div id="content">
>       <xht:h1>Editing Parameters</xht:h1>
>       <xht:p class="message"></xht:p>
>       <xht:form method="post" action="">
>         <xht:div class="actionButtons">
>           <xht:table>
>             <xht:input type="hidden" name="useMETHOD"
> value="57177"></xht:input>
>             <xht:tr>
>               <xht:td>
>                 <xht:select name="useNEXT">
>                         <xht:option
> value="?useMETHOD=57176&amp;useXSL=57167&amp;">Show Updated
> Record</xht:option>
>                         <xht:option
> value=".zpa_dba.zpadesc?useXSL=57168&amp;">Show List</xht:option>
>                         <xht:option value="">None (xml
> response)</xht:option></xht:select>
>               </xht:td>
>               <xht:td>
>                 <xht:input type="submit" value="Update"></xht:input>
>               </xht:td>
>             </xht:tr>
>           </xht:table>
>         </xht:div>
>       </xht:form>
>     </xht:div>
>   </xht:body>
> </xht:html>
>
> Regards,
>
> Kasimier
> _______________________________________________
> xslt mailing list, project page http://xmlsoft.org/XSLT/
> xslt gnome org
> http://mail.gnome.org/mailman/listinfo/xslt
>




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