Hussein,
That's what I call service - fixing someone else's code for someone
who only has an Evaluation licence at the moment, and on a Sunday too!
I've installed your patch and DELETE & BACKSPACE under xml2rfc-xxe
work properly again.
I'll forward your advice and code to the xml2rfc-xxe authors.
One more question they will probably ask:
Should this patch work for people with XXE v5.x where x < 5?
or even for XXE v4.x?
If so, it could become the new recommended release for everyone,
without having to check version numbers.
Thank you again.
Bob
At 18:36 17/02/2013, Hussein Shafie wrote:
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.
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.
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.
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/>
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.
Please find attached to this email an xml2rfc.xxe file which should
fix the problems you have.
Simply replace old xml2rfc.xxe by the attached one and restart XXE.
You'll find xml2rfc.xxe in the install directory of the xml2rfc
add-on. In order to find where is this directory, please select
"Options|Install Add-ons", then select the "Uninstall" table. Click
on the "xml2rfc" item and look at the last line of its
documentation. See attached screenshot.
---
PS: The CSS of xml2rfc, which is a bit extreme (it attempts to
display *all* the attributes in the styled view), poses one major
compatibility problem with XXE v5. However, this problem is less
severe than the one you have reported. The CSS problem just makes
the styled view of an RFC very ugly to look at.
________________________________________________________________
Bob Briscoe, BT
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support