insertXMLFragment fails when code run from IDE
Oxygen general issues.
-
- Posts: 2
- Joined: Fri Jan 27, 2012 3:26 pm
insertXMLFragment fails when code run from IDE
Hi,
I have a simple application which uses authorAccess.insertXMLFragment(insertedXml, caretPosition); and works fine when built and deployed to oxygen framework. However, when I try to run the code from eclipse (as per these instructions, http://www.oxygenxml.com/forum/topic3789.html#p14949) which generally works fine, I get the following when the code attempts to insert an xml fragment:
java.io.IOException
at ro.sync.io.z.f(Unknown Source)
at ro.sync.io.z.d(Unknown Source)
at ro.sync.io.z$2.read(Unknown Source)
at ro.sync.io.n.read(Unknown Source)
at ro.sync.io.ib.d(Unknown Source)
at ro.sync.io.ib.b(Unknown Source)
at ro.sync.io.ib.c(Unknown Source)
at ro.sync.io.c.g(Unknown Source)
at ro.sync.io.c.j(Unknown Source)
at ro.sync.io.c.ab(Unknown Source)
at ro.sync.ecss.e.u.j(Unknown Source)
at ro.sync.ecss.e.u.o(Unknown Source)
at ro.sync.ecss.e.z.ec(Unknown Source)
at ro.sync.ecss.e.z.fc(Unknown Source)
at ro.sync.ecss.e.z.insertXMLFragment(Unknown Source)
at ro.sync.ecss.extensions.l.insertXMLFragment(Unknown Source)
Any tips how to fix this very much appreciated, Im using Oxygen 11.2 + Ganymede.
steve
I have a simple application which uses authorAccess.insertXMLFragment(insertedXml, caretPosition); and works fine when built and deployed to oxygen framework. However, when I try to run the code from eclipse (as per these instructions, http://www.oxygenxml.com/forum/topic3789.html#p14949) which generally works fine, I get the following when the code attempts to insert an xml fragment:
java.io.IOException
at ro.sync.io.z.f(Unknown Source)
at ro.sync.io.z.d(Unknown Source)
at ro.sync.io.z$2.read(Unknown Source)
at ro.sync.io.n.read(Unknown Source)
at ro.sync.io.ib.d(Unknown Source)
at ro.sync.io.ib.b(Unknown Source)
at ro.sync.io.ib.c(Unknown Source)
at ro.sync.io.c.g(Unknown Source)
at ro.sync.io.c.j(Unknown Source)
at ro.sync.io.c.ab(Unknown Source)
at ro.sync.ecss.e.u.j(Unknown Source)
at ro.sync.ecss.e.u.o(Unknown Source)
at ro.sync.ecss.e.z.ec(Unknown Source)
at ro.sync.ecss.e.z.fc(Unknown Source)
at ro.sync.ecss.e.z.insertXMLFragment(Unknown Source)
at ro.sync.ecss.extensions.l.insertXMLFragment(Unknown Source)
Any tips how to fix this very much appreciated, Im using Oxygen 11.2 + Ganymede.
steve
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: insertXMLFragment fails when code run from IDE
Hello,
Can you please tell me what Eclipse plugin are you using(Editor or Author) and what build number(Window > Preferences, oXygen)?
Regards,
Adrian
Can you please tell me what Eclipse plugin are you using(Editor or Author) and what build number(Window > Preferences, oXygen)?
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 2
- Joined: Fri Jan 27, 2012 3:26 pm
Re: insertXMLFragment fails when code run from IDE
Hi Adrian,
Im not actually using a plugin / developing one. Im working on a very simple oxygen customisation, originally coded in the ide then jar exported to relevant framework folder. The setup described seemed ideal for debugging and indeed has proved so, but apologies if I have used your advise out of context. The problem is that this particular function, which has worked stand-alone, fails. My Oxygen is <oXygen/> XML Editor 11.2, build 2010051111.
regards
steve
Im not actually using a plugin / developing one. Im working on a very simple oxygen customisation, originally coded in the ide then jar exported to relevant framework folder. The setup described seemed ideal for debugging and indeed has proved so, but apologies if I have used your advise out of context. The problem is that this particular function, which has worked stand-alone, fails. My Oxygen is <oXygen/> XML Editor 11.2, build 2010051111.
regards
steve
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: insertXMLFragment fails when code run from IDE
Hi Steve,
If you contact us via the support email address support@oxygenxml.com I can try to give you a log configuration file to enable logging in the Oxygen Plugin for Eclipse.
Are there in the inserted fragment any entity references which are not declared in the XML?
Regards,
Radu
If you contact us via the support email address support@oxygenxml.com I can try to give you a log configuration file to enable logging in the Oxygen Plugin for Eclipse.
Are there in the inserted fragment any entity references which are not declared in the XML?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service