[oXygen-user] Fatal error when using refactoring action

Lionel MOIZEAU lionel.moizeau at l-acoustics.com
Tue Jul 11 04:52:53 CDT 2017


Of course, it is attached. It is the one in the Oxygen installation folder.

Lionel MOIZEAU
Head of Technical Information Department

L-Acoustics
Tel : +33 1 69 63 23 99

www.l-acoustics.com
-----Message d'origine-----
De : cmarchand at oxiane.com [mailto:cmarchand at oxiane.com] 
Envoyé : mardi 11 juillet 2017 11:51
À : Lionel MOIZEAU <lionel.moizeau at l-acoustics.com>
Cc : 'oXygen-user at oxygenxml.com' <oXygen-user at oxygenxml.com>
Objet : Re: [oXygen-user] Fatal error when using refactoring action

Could you post your insert-element.xq ?

Best,
Christophe

Le 2017-07-11 11:46, Lionel MOIZEAU a écrit :
> Hi,
> 
> When I use a refactoring action such as Insert element, I get the 
> following error !
> 
> DESCRIPTION
> 
> java.lang.IllegalArgumentException: Misdeclaration of xmlns namespace
> 
> SEVERITY
> 
> Fatal
> 
> SYSTEM ID
> 
> C:\Program Files\Oxygen XML Editor 19\refactoring\insert-element.xq 
> [1]
> 
> With the following trace.
> 
> java.lang.IllegalArgumentException: Misdeclaration of xmlns namespace
> 
>          at
> net.sf.saxon.query.StaticQueryContext.declareNamespace(StaticQueryCont
> ext.java:750)
> 
> 
>          at
> net.sf.saxon.s9api.XQueryCompiler.declareNamespace(XQueryCompiler.java
> :365)
> 
> 
>          at ro.sync.exml.xmlrefactory.c.c.d.p(Unknown Source)
> 
>          at ro.sync.exml.xmlrefactory.c.c.d.g(Unknown Source)
> 
>          at ro.sync.exml.xmlrefactory.c.d.k(Unknown Source)
> 
>          at ro.sync.exml.xmlrefactory.c.c.c(Unknown Source)
> 
>          at ro.sync.exml.xmlrefactory.c.c.b(Unknown Source)
> 
>          at ro.sync.exml.xmlrefactory.ui.i.j(Unknown Source)
> 
>          at ro.sync.exml.xmlrefactory.ui.i.k(Unknown Source)
> 
>          at ro.sync.exml.xmlrefactory.ui.i.i(Unknown Source)
> 
>          at ro.sync.exml.xmlrefactory.ui.i$_b.rhe(Unknown Source)
> 
>          at ro.sync.ui.application.nb.run(Unknown Source)
> 
> I tried to add a <test> element under the <foo> element in a file like
> this:
> 
> <?xml version="1.0" encoding="UTF-8"?> <root>
>     <foo/>
> </root>
> 
> Can you help me?
> 
> Best regards,
> 
> Lionel MOIZEAU
> Head of Technical Information Department
> 
> L-ACOUSTICS
> Tel : +33 1 69 63 23 99
> 
> www.l-acoustics.com [2]
> 
> Links:
> ------
> [1]
> file:///C:\Program%20Files\Oxygen%20XML%20Editor%2019\refactoring\inse
> rt-element.xq
> [2] http://www.l-acoustics.com/
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww
> .oxygenxml.com%2Fmailman%2Flistinfo%2Foxygen-user&data=02%7C01%7Clione
> l.moizeau%40l-acoustics.com%7C85963b803c9e489b3f3208d4c8425611%7C68e43
> 1e8d632483eae79f28a7b4c69e6%7C1%7C0%7C636353634615231909&sdata=fwpDsTi
> oz8WrcornBBzZ1kt8IDy4XNcZkPJgQtPyFNY%3D&reserved=0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: insert-element.xq
Type: application/octet-stream
Size: 1915 bytes
Desc: insert-element.xq
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20170711/4caddca6/attachment.obj>


More information about the oXygen-user mailing list