2008/4/30 Hussein Shafie <hussein at xmlmind.com>: > No, there is no bug here. When you cannot copy from A to B (no matter what > are A and B), it is *always* because [1] you didn't select the right node > and/or the right Paste command OR because [2] the document type to which B > is conforming forbids you to do so.
Then the bug (from the point of view of the user) is that XXE gives no indication at all of what is happening. It just appears to ignore the keystroke. Could I submit an enhancement request: make XXE display some kind of unobtrusive error message to the user (in the status bar maybe) explaining why it cannot paste content. > --> You cannot freely copy content between DocBook 4 (where elements have > no namespace) and DocBook 5 (where elements have a namespace). This is the problem, then. > Note that Professional Edition has an easy to use "Convert to DocBook v5+ > then open" menu item. I didn't do that because I didn't want to convert the document to another version, only copy content from it. If it is not a destructive conversion, the menu item should be renamed. > --> You can copy text as paragraphs from any application to XXE when a > DocBook 4 or 5, XHTML or DITA document is opened. I wanted to copy some basic formatting (emphasis). But, as a fallback, I tried using Control-c, Esc-w to copy text as paragraphs and it didn't work. > > If it is impossible in the current version, can I request an > > enhancement to allow this? Perhaps XXE could have a registry of XSLT > > transforms that map content between document types and the applicable > > transform is used when copy-and-paste is used between different > > document types. > > > > > > I'm sorry but removing this limitation would be too much work. Just copying between Docbook 4 and 5 would be enough. Are there any Java hooks that would let me write it myself? --Nat

