Entites in XSLT documentation - bug?

Oxygen general issues.
jakubm
Posts: 12
Joined: Sun Jan 15, 2012 3:48 pm

Entites in XSLT documentation - bug?

Post 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.
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Entites in XSLT documentation - bug?

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply