ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject Re: Getting NAMESPACE_ERR using echoxml
Date Tue, 03 Feb 2009 18:59:44 GMT
On Tue, Feb 3, 2009 at 11:05 AM, Jacopo Cappellato
<> wrote:
> I am trying to run the following task:
> <echoxml file="someFile.xml">
>        <ofbiz-component name="${component-name}"
>                xmlns:xsi=""
>  xsi:noNamespaceSchemaLocation="">
>        </ofbiz-component>
> </echoxml>
> But when I run the ant target that contains it I get the following error:
> org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or
> change an object in a way which is incorrect with regard to namespaces.
> If I remove the string:
> xsi:noNamespaceSchemaLocation=""
> then everything works fine.
> Am I doing something wrong? Or is there a workaround for this?

What are you trying to achieve? Have the XML file echo'd contain the
xsi:noNSL attribute in its top level <ofbiz-component>? I don't think
<echoxml> supports that, although I could be wrong, it's been a while
I tried to use it. --DD

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message