hlship at comcast
May 26, 2004, 6:01 AM
Post #3 of 4
I'll get it into Jira shortly.
My workaround was to use href="rules.html#Translators", which is fine (my document tree is stable
and relatively flat).
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
> -----Original Message-----
> From: David Crossley [mailto:crossley [at] apache]
> Sent: Wednesday, May 26, 2004 9:17 AM
> To: forrest-user [at] xml
> Subject: Re: Use of anchors with site: links
> Howard M. Lewis Ship wrote:
> > I've attempted to create links of the form:
> > <link href="site:rules#Translators">translator</link>
> > But got the error
> > [java] X  descriptor.html
> BROKEN: Invalid XPath:
> > '/site//rules#Translators/@href'. Invalid symbol '#' after:
> > I feel this is a bug in Forrest ... it should allow and
> honor the anchor reference, or provide
> > another attribute on the <link> element for this purpose.
> Am I missing something?
> It is certainly a needed enhancement. Would you be able to
> add it as a Jira issue.
> For now the workaround it to define these explicitly in
> site.xml and use them as site:rules/Translators