Page 1 of 1

Entites in XSLT documentation - bug?

Posted: Fri Feb 03, 2012 11:21 pm
by jakubm
I added an entity definition in the beginning of my xslt stylesheet
<!DOCTYPE xsl:stylesheet [
<!ENTITY e1 "abcd">
]>

And I would like to use it in XSLT documentation tags (because parameters of some of my functions always have the same description). But the Generate XSLT documentation tool shows an error:

The following errors were encountered when generating stylesheet documentation..
The entity "e1" was referenced, but not declared.

Re: Entites in XSLT documentation - bug?

Posted: Mon Feb 06, 2012 6:58 pm
by adrian
Hello,

I can confirm your findings. An entity referenced in the documentation tags is not processed correctly by the stylesheet documentation tool. This happens because the documentation tags are extracted from the stylesheet and the entity reference is ignored.

I have logged this to our issue tracking tool and it will be analyzed and resolved in a future version of Oxygen.

Regards,
Adrian