Autocomplete of xsl:merge

Having trouble installing Oxygen? Got a bug to report? Post it all here.
whyme
Posts: 93
Joined: Fri Mar 08, 2013 8:58 am

Autocomplete of xsl:merge

Post by whyme »

A few bugs:

When <xsl:merge> is autocompleted an invalid <xsl:merge-input> is inserted as an intermediary between <xsl:merge> and <xsl:merge-key>.

When adding attributes to <xsl:merge-source> @for-each is offered as a false option. It seems that it should be replaced by @for-each-item and @for-each-stream.

The value of @for-each-item/-stream is not color coded the way @select is.
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Autocomplete of xsl:merge

Post by adrian »

Hi,

The schema that Oxygen uses for XSLT 3.0 content completion needs an update.
I will return with a patch shortly.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Autocomplete of xsl:merge

Post by adrian »

Hi,

Here's the patch that addresses the content completion issues with xsl:merge in XSLT 3.0: patchXSLT3_0.zip
Download, unpack this zip and copy or move the extracted "endorsed" folder to the Oxygen/lib folder. Restart Oxygen.

This does not address the color coding in the value of @for-each-item/-stream. That requires a different kind of implementation and remains for a future version of Oxygen.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply