Bug #4488
closedSome Gizmo glitches
100%
Description
In developing the Gizmo solution published at
I encountered a few glitches.
-
On the load command, auto-completion of absolute filenames (/Users/mike/...) appears not to be working
-
If a relative filename is used and tab is pressed while typing the name of the first step in the file path, auto-completion deletes the "load" command and repositions the cursor at the start of the line.
-
Paths are supposed to work with the convention that an unprefixed name matches on local name only. This is not working: I needed to use
/*:svg
rather than/svg
Updated by Michael Kay over 4 years ago
Some more problems identified at https://saxonica.plan.io/boards/2/topics/7784?r=7786
Updated by Michael Kay over 4 years ago
Found the issue with //x
not matching by local name alone: somehow the method name getUnprefixedElementMatchingPolicy
in AbstractStaticContext
differs from the method name in the interface StaticContext
, so the wrong method is being called. Fixed this one.
Updated by Michael Kay over 4 years ago
In response to the observations in https://saxonica.plan.io/boards/2/topics/7784?r=7786 I have
(a) changed the logic for "show" so that non-node items are serialized using the adaptive output method
(b) changed the logic for "set . = expression" so it is equlvalent to
<xsl:document>
<xsl:sequence select="expression"/>
</xsl:document>
If this fails (for example if the expression returns a map) we'll try and produce a helpful error message and recover the session.
Updated by Michael Kay over 4 years ago
- Status changed from New to Resolved
- Fix Committed on Branch 10 added
Fixed problems with filename completion. The main problem was that it wasn't working on the first "load" command (because it was initialised too late), and most of my tests were on the first "load" command.
Updated by O'Neil Delpratt over 4 years ago
- % Done changed from 0 to 100
- Fixed in Maintenance Release 10.1 added
Bug fix committed in the Saxon 10.1 maintenance release.
Updated by O'Neil Delpratt over 4 years ago
- Status changed from Resolved to Closed
Please register to edit this issue