[xslt] unparsed-entity-uri bug?
- From: puninj cs rpi edu
- To: xslt gnome org
- Cc: puninj cs rpi edu
- Subject: [xslt] unparsed-entity-uri bug?
- Date: Thu, 5 Apr 2001 21:48:11 -0400 (EDT)
Hi Daniel
I've been using xsltproc and I think that is an excellent XSLT processor.
I was using xsltproc and I think I found a bug.
The element graphic is defined in the DTD as:
<!ELEMENT graphic EMPTY >
<!ATTLIST graphic
figname ENTITY #REQUIRED
scale CDATA "100" >
where figname attribute is an entity. In my XML document I use this graphic
element:
<graphic figname="SIMPLEGRAPH"/>
where SIMPLEGRAPH is the entity:
<!ENTITY SIMPLEGRAPH SYSTEM "simpleg.eps" NDATA eps>
There is an xslt that transforms this XML document in a HTML document. The
statement that uses @figname is:
<xsl:when test="unparsed-entity-uri(@figname)">
When I use xsltproc, I got this error:
unparsed-entity-uri() : invalid arg expecting a string
Hope this helps.
Best wishes
John Punin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]