|
List Info
Thread: Variable 'port' has not been declared.
|
|
| Variable 'port' has not been declared. |

|
2006-12-05 17:42:45 |
Since a few days ago, I'm getting the error below when
rebuilding any of
the htdocs/Ports/*/index.html pages:
% make index.html
[xsltproc] index.xml -> index.html
runtime error: file
file:///usr/cvs/htdocs/share/xsl/portpage.xsl line 40
element value-of
Variable 'port' has not been declared.
xmlXPathCompiledEval: evaluation failed
runtime error: file
file:///usr/cvs/htdocs/share/xsl/portpage.xsl line 40
element value-of
XPath evaluation returned no result.
*** Error code 10
I don't remember changing any of the installed packages, and
htdocs has no
local changes.
Has anyone seen this before?
- Hubert
|
|
| Variable 'port' has not been declared. |

|
2006-12-07 14:22:02 |
Hubert Feyrer <hubert feyrer.de> wrote:
>
> Since a few days ago, I'm getting the error below when
rebuilding any of
> the htdocs/Ports/*/index.html pages:
>
> % make index.html
> [xsltproc] index.xml -> index.html
> runtime error: file
file:///usr/cvs/htdocs/share/xsl/portpage.xsl
> line 40
> element value-of
> Variable 'port' has not been declared.
> xmlXPathCompiledEval: evaluation failed
> runtime error: file
file:///usr/cvs/htdocs/share/xsl/portpage.xsl
> line 40
> element value-of
> XPath evaluation returned no result.
> *** Error code 10
>
> I don't remember changing any of the installed
packages, and htdocs has no
> local changes.
>
> Has anyone seen this before?
I've found answer in the XSLT REC: It is not an error to
pass a
parameter x to a template that does not have an xsl:param
element
for x; the parameter is simply ignored. Hence the
"Variable 'port'
has not been declared" message. Looks like a fixed bug
in xsltproc.
I've update portpage.xsl, could you check it again, please?
--
Mishka.
|
|
| Variable 'port' has not been declared. |

|
2006-12-07 19:49:28 |
On Thu, 7 Dec 2006, Mike M. Volokhov wrote:
> I've found answer in the XSLT REC: It is not an error
to pass a
> parameter x to a template that does not have an
xsl:param element
> for x; the parameter is simply ignored. Hence the
"Variable 'port'
> has not been declared" message. Looks like a fixed
bug in xsltproc.
>
> I've update portpage.xsl, could you check it again,
please?
Works, thanks!
As tou seem to be on top of all this: can you recommend some
ressource
(webpage preferred) on where to learn about XSLT and
possibly whatever
else is involved in the translation of our .xml files to
HTML/PDF?
- Hubert
|
|
| Variable 'port' has not been declared. |

|
2006-12-07 20:04:25 |
On Thu, 7 Dec 2006, Hubert Feyrer wrote:
> Works, thanks!
BTW, I seem to get similar errors now while building in
htdocs/guide/en:
runtime error: file
file:///usr/cvs/htdocs/share/xsl/netbsd-docbook-html-chunk.x
sl line 64 element param
Unexpected XSLT element 'param'.
...
Can you fix, please?
- Hubert
|
|
| Variable 'port' has not been declared. |

|
2006-12-08 08:16:27 |
Hubert Feyrer <hubert feyrer.de> wrote:
> On Thu, 7 Dec 2006, Hubert Feyrer wrote:
> >Works, thanks!
>
> BTW, I seem to get similar errors now while building in
htdocs/guide/en:
>
> runtime error: file
>
file:///usr/cvs/htdocs/share/xsl/netbsd-docbook-html-chunk.
xsl line
> 64 element param
> Unexpected XSLT element 'param'.
> ...
>
> Can you fix, please?
Should be fixed now. See also my commit message for some
guidelines.
It would be nice if someone can rebuild the whole site (I
can't
do this yourself - very slow workstation with 128M RAM
here).
--
Mishka.
|
|
[1-5]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|