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

 

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