RE: [xslt] xsltproc failed



Hi John,

I happened to look at your stylesheet again by chance and noticed
the many namespace declarations in the result document; if you want
to get rid of them, then you could use "exclude-result-prefixes"
to remove them (just in case you weren't aware of this).

Regards,

Kasimier

> -----Original Message-----
> From: xslt-bounces gnome org [mailto:xslt-bounces gnome org] 
> On Behalf Of Buchcik, Kasimier

> > -----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_de
> finition.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]