Smart paste in oXygen 12.1: Cannot validate <{...org/1999/xhtml}html>: no element declaration available

Hi group I have just installed oXygen XML Editor 12.1 and I'm testing the "smart paste" feature. This is what I do: 1. Create a new topic. 2. Copy a section from a topic on our website: http://www.scripto.nu/index.php?q=en/node/71 3. Put my cursor in the <body> element in oXygen and try to paste the copied section. I'm getting the following error message: Cannot validate <{...org/1999/xhtml}html>: no element declaration availableµ I get the same result when I try to paste a single paragraph. Any ideas? Thanks. -- Yves Barbion www.scripto.nu

Hello, It is a side effect of the Saxon EE option for the validation of the source file (Preferences -> XML / XSLT-FO-XQuery / XSLT / Saxon / Saxon-HE/PE/EE). You have this option set to strict validation. Of course this option should be ignored by the copy and paste operation. We will fix this side effect in a new build of Oxygen 12.1. We will announce the new build through our RSS: http://www.oxygenxml.com/rssBuildID.xml You can get to the RSS also from the Download page on the website. As a workaround please change this option to other value: lax validation or no validation. Thank you for reporting the error, Sorin Yves Barbion wrote:
Hi group
I have just installed oXygen XML Editor 12.1 and I'm testing the "smart paste" feature. This is what I do:
1. Create a new topic. 2. Copy a section from a topic on our website:
http://www.scripto.nu/index.php?q=en/node/71
3. Put my cursor in the <body> element in oXygen and try to paste the copied section.
I'm getting the following error message:
Cannot validate <{...org/1999/xhtml}html>: no element declaration availableµ
I get the same result when I try to paste a single paragraph.
Any ideas?
Thanks.
-- Yves Barbion www.scripto.nu <http://www.scripto.nu> ------------------------------------------------------------------------
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

First, I think that the smart paste from browsers/MS Word is potentially a great time-saver. I look forward to using it. But I just don't understand how to use it or invoke it. Namely: 1. Will you be in Author or Editor mode when you do it? 2. Are you using the right-click menu from the Outline window or from the main edit window? 3. Are you just using the paste option or is there some other way to do this? 4. Is there a certain element you must be inside when you perform the paste action (in docbook I mean). Robert On Wed, Jan 12, 2011 at 10:50 AM, Sorin Ristache <sorin@sync.ro> wrote:
Hello,
It is a side effect of the Saxon EE option for the validation of the source file (Preferences -> XML / XSLT-FO-XQuery / XSLT / Saxon / Saxon-HE/PE/EE). You have this option set to strict validation. Of course this option should be ignored by the copy and paste operation. We will fix this side effect in a new build of Oxygen 12.1. We will announce the new build through our RSS:
http://www.oxygenxml.com/rssBuildID.xml
You can get to the RSS also from the Download page on the website.
As a workaround please change this option to other value: lax validation or no validation.
Thank you for reporting the error, Sorin
Yves Barbion wrote:
Hi group
I have just installed oXygen XML Editor 12.1 and I'm testing the "smart paste" feature. This is what I do:
1. Create a new topic. 2. Copy a section from a topic on our website:
http://www.scripto.nu/index.php?q=en/node/71
3. Put my cursor in the <body> element in oXygen and try to paste the copied section.
I'm getting the following error message:
Cannot validate <{...org/1999/xhtml}html>: no element declaration availableµ
I get the same result when I try to paste a single paragraph.
Any ideas?
Thanks.
-- Yves Barbion www.scripto.nu <http://www.scripto.nu> ------------------------------------------------------------------------
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- Robert Nagle 12777 Ashford Point Dr #1417 Houston, Texas 77082 713 893 3424 http://www.robertnagle.info

Hello Robert, It is the Paste action on an XML document edited in Author mode. The idea is to enhance the normal Paste action to try to preserve the markup and styling as equivalent XML elements and attributes of the target document. It does not matter where the Paste action is invoked: Author editor, contextual menu of Outline view, the Ctrl-V shortcut. The same transformation of the copied content is executed on drag and drop with the mouse. As in the normal Paste action the cursor does not have to be in a specific element in Author mode. If the pasted content makes the document invalid there is a paste strategy dialog box that offers some options for the paste location like: - inside the closest X element to the right of the current position, - at current location as plain text, - at current location even if invalid. Regards, Sorin Robert Nagle wrote:
First, I think that the smart paste from browsers/MS Word is potentially a great time-saver. I look forward to using it.
But I just don't understand how to use it or invoke it.
Namely:
1. Will you be in Author or Editor mode when you do it? 2. Are you using the right-click menu from the Outline window or from the main edit window? 3. Are you just using the paste option or is there some other way to do this? 4. Is there a certain element you must be inside when you perform the paste action (in docbook I mean).
Robert
participants (3)
-
Robert Nagle
-
Sorin Ristache
-
Yves Barbion