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(StaticQueryContext.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\insert-element.xq
[2] http://www.l-acoustics.com/
_______________________________________________
oXygen-user mailing list
[email protected]
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________
oXygen-user mailing list
[email protected]
https://www.oxygenxml.com/mailman/listinfo/oxygen-user

Reply via email to