On 02/17/2013 02:15 PM, Bob Briscoe wrote:

Having edited javaw.exe to java.exe as suggested, On opening xxe I get a
black background console with java.exe in the title bar, as well as the
xxe window. Nothing in the console to start with.

Means: works OK.




On first opening an .xml file, a regular warning window I always get
comes up in xxe (about external references). When I dismiss the warning,
the following come up in the console:
'selectById' unknown command
'selectById' unknown command
'selectById' unknown command

When I then type backspace or delete within a passage of text, no
further error messages appear in the console.

No Java exception then. Good.





In case you meant a different console (I expected the grey background
one you can get with java applets), I went in to the windows 7 control
panel > java > Advanced > java console > show console (hide console was
selected). Shut down & restarted xxe, but still the only console was the
black one.

The real console is the black one. "Advanced > java console > show console" is the console used when XXE is used as an applet or started using Java Web Start, and not as a desktop application.




I probably should have said that I'm using the xml2rfc xxe addin v0.8.0,
which was released to support xxe v5.x
http://code.google.com/p/xml2rfc-xxe/
And I'm using the latest stable release of xml2rfc: v1.36
<http://xml.resource.org/>

It seems that the xml2rfc add-on uses a number of commands which no longer exist in XXE v5.5. Among these commands:

* (For sure) selectById, superseded by selectLink, quite a long time ago.

See http://www.xmlmind.com/xmleditor/_distrib/doc/commands/selectLink.html

* (May be) deleteSelectionOrJoinOrDeleteChar, generally bound to BACKSPACE and DELETE, superseded deleteSelectionOrJoinBlockOrDeleteChar by as of v5.5.

See http://www.xmlmind.com/xmleditor/_distrib/doc/commands/deleteSelectionOrJoinBlockOrDeleteChar.html





Would it be possible that changes to the function of BACKSPACE and
DELETE in xxe v5.5.0 have affected this addin? I would be surprised
(appalled actually), given a good software architecture shouldn't
require addins to have to be updated due to such a low level change in
their underlying platform.


Yes, XXE v5.5.0 has clearly broken the xml2rfc add-on, and we are sorry for that.

We confess that we never attempt to maintain any backward compatibility for the XXE commands and Java APIs. This makes it impossible for third-party programmers to deliver add-ons which survive XXE releases.

--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to