XPL Sandbox error

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

XPL Sandbox error

Lawson, Eric

All,

 

Whenever I try to run a web services example in the XPL sandbox, I get this error:

 

XForms error: The node "org.orbeon.oxf.xml.dom4j.NonLazyUserDataElement@18dc649 [Element: <span uri: http://www.w3.org/1999/xhtml attributes: [org.dom4j.util.UserDataAttribute@d5064b [Attribute: name class value "c"]]/>] userData: oxf:/config/theme/format.xpl, line 34, column 43" could not be added to the branch "null" because: Cannot add another element to this Document as it already has a root element of: span

 

To verify, just enter “<foo/>” into the input textbox, and enter the following in the XPL text box:

 

<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"

    xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:xhtml="http://www.w3.org/1999/xhtml"

    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

    xmlns:delegation="http://orbeon.org/oxf/xml/delegation"

    xmlns:oxf="http://www.orbeon.com/oxf/processors">

  <p:param type="output" name="data"/>

  <p:processor name="oxf:delegation">

  <p:input name="interface">

  <config>

  <service id="quotes" type="webservice" style="rpc" endpoint="http://www.scdi.org/~avernet/webservice/">

  <operation nsuri="urn:avernet" name="getRandomQuote" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

  </service>

  </config>

  </p:input>

  <p:input name="call">

  <delegation:execute service="quotes" operation="getRandomQuote" xmlns:delegation="http://orbeon.org/oxf/xml/delegation"/>

  </p:input>

  <p:output name="data" ref="data"/>

  </p:processor>

  </p:config>

 

I have tried this for virtually every web services example available, and it all responds the same way. Does anyone have any idea as for why this is happening?

 

Thanks,

Eric Lawson



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: XPL Sandbox error

Lawson, Eric

That message seemed to get truncated. Here was the original message:

 

All,

 

Whenever I try to run a web services example in the XPL sandbox, I get this error:

 

XForms error: The node "org.orbeon.oxf.xml.dom4j.NonLazyUserDataElement@18dc649 [Element: <span uri: http://www.w3.org/1999/xhtml attributes: [org.dom4j.util.UserDataAttribute@d5064b [Attribute: name class value "c"]]/>] userData: oxf:/config/theme/format.xpl, line 34, column 43" could not be added to the branch "null" because: Cannot add another element to this Document as it already has a root element of: span

 

To verify, just enter “<foo/>” into the input textbox, and enter the following in the XPL text box:

 

<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"

    xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:xhtml="http://www.w3.org/1999/xhtml"

    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

    xmlns:delegation="http://orbeon.org/oxf/xml/delegation"

    xmlns:oxf="http://www.orbeon.com/oxf/processors">

  <p:param type="output" name="data"/>

  <p:processor name="oxf:delegation">

  <p:input name="interface">

  <config>

  <service id="quotes" type="webservice" style="rpc" endpoint="http://www.scdi.org/~avernet/webservice/">

  <operation nsuri="urn:avernet" name="getRandomQuote" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

  </service>

  </config>

  </p:input>

  <p:input name="call">

  <delegation:execute service="quotes" operation="getRandomQuote" xmlns:delegation="http://orbeon.org/oxf/xml/delegation"/>

  </p:input>

  <p:output name="data" ref="data"/>

  </p:processor>

  </p:config>

 

I have tried this for virtually every web services example available, and it all responds the same way. Does anyone have any idea as for why this is happening?

 

Thanks,

Eric Lawson

 

 


From: Lawson, Eric [mailto:[hidden email]]
Sent: Wednesday, January 25, 2006 2:13 PM
To: [hidden email]
Subject: [ops-users] XPL Sandbox error

 

All,

 

Whenever I try to run a web services example in the XPL sandbox, I get this error:

 

XForms error: The node "org.orbeon.oxf.xml.dom4j.NonLazyUserDataElement@18dc649 [Element: <span uri: http://www.w3.org/1999/xhtml attributes: [org.dom4j.util.UserDataAttribute@d5064b [Attribute: name class value "c"]]/>] userData: oxf:/config/theme/format.xpl, line 34, column 43" could not be added to the branch "null" because: Cannot add another element to this Document as it already has a root element of: span

 

To verify, just enter “<foo/>” into the input textbox, and enter the following in the XPL text box:

 

<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"

    xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:xhtml="http://www.w3.org/1999/xhtml"

    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

    xmlns:delegation="http://orbeon.org/oxf/xml/delegation"

    xmlns:oxf="http://www.orbeon.com/oxf/processors">

  <p:param type="output" name="data"/>

  <p:processor name="oxf:delegation">

  <p:input name="interface">

  <config>

  <service id="quotes" type="webservice" style="rpc" endpoint="http://www.scdi.org/~avernet/webservice/">

  <operation nsuri="urn:avernet" name="getRandomQuote" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

  </service>

  </config>

  </p:input>

  <p:input name="call">

  <delegation:execute service="quotes" operation="getRandomQuote" xmlns:delegation="http://orbeon.org/oxf/xml/delegation"/>

  </p:input>

  <p:output name="data" ref="data"/>

  </p:processor>

  </p:config>

 

I have tried this for virtually every web services example available, and it all responds the same way. Does anyone have any idea as for why this is happening?

 

Thanks,

Eric Lawson



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: XPL Sandbox error

Erik Bruchez
Administrator
I am not making 100% sense of the error I see, but it disappears if you
put a root element around <delegation:execute>. I suspect that there may
be text nodes in SAX around the root element returned by the web
service. I managed to fix the behavior by slightly modifying format.xpl.

It remains safer in this case to put a root element around
<delegation:execute>.

-Erik

Lawson, Eric wrote:

> That message seemed to get truncated. Here was the original message:
>
>  
>
> All,
>
>  
>
> Whenever I try to run a web services example in the XPL sandbox, I get
> this error:
>
>  
>
> XForms error: The node
> "org.orbeon.oxf.xml.dom4j.NonLazyUserDataElement@18dc649 [Element: <span
> uri: http://www.w3.org/1999/xhtml attributes:
> [org.dom4j.util.UserDataAttribute@d5064b [Attribute: name class value
> "c"]]/>] userData: oxf:/config/theme/format.xpl, line 34, column 43"
> could not be added to the branch "null" because: Cannot add another
> element to this Document as it already has a root element of: span
>
>  
>
> To verify, just enter “<foo/>” into the input textbox, and enter the
> following in the XPL text box:
>
>  
>
> <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
>
>     xmlns:f="http://orbeon.org/oxf/xml/formatting"
> xmlns:xhtml="http://www.w3.org/1999/xhtml"
>
>     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>
>     xmlns:delegation="http://orbeon.org/oxf/xml/delegation"
>
>     xmlns:oxf="http://www.orbeon.com/oxf/processors">
>
>   <p:param type="output" name="data"/>
>
>   <p:processor name="oxf:delegation">
>
>   <p:input name="interface">
>
>   <config>
>
>   <service id="quotes" type="webservice" style="rpc"
> endpoint="http://www.scdi.org/~avernet/webservice/">
>
>   <operation nsuri="urn:avernet" name="getRandomQuote"
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>
>   </service>
>
>   </config>
>
>   </p:input>
>
>   <p:input name="call">
>
>   <delegation:execute service="quotes" operation="getRandomQuote"
> xmlns:delegation="http://orbeon.org/oxf/xml/delegation"/>
>
>   </p:input>
>
>   <p:output name="data" ref="data"/>
>
>   </p:processor>
>
>   </p:config>
>
>  
>
> I have tried this for virtually every web services example available,
> and it all responds the same way. Does anyone have any idea as for why
> this is happening?
>
>  
>
> Thanks,
>
> Eric Lawson
>
>  
>
>  
>
> ------------------------------------------------------------------------
>
> *From:* Lawson, Eric [mailto:[hidden email]]
> *Sent:* Wednesday, January 25, 2006 2:13 PM
> *To:* [hidden email]
> *Subject:* [ops-users] XPL Sandbox error
>
>  
>
> All,
>
>  
>
> Whenever I try to run a web services example in the XPL sandbox, I get
> this error:
>
>  
>
> XForms error: The node
> "org.orbeon.oxf.xml.dom4j.NonLazyUserDataElement@18dc649 [Element: <span
> uri: http://www.w3.org/1999/xhtml attributes:
> [org.dom4j.util.UserDataAttribute@d5064b [Attribute: name class value
> "c"]]/>] userData: oxf:/config/theme/format.xpl, line 34, column 43"
> could not be added to the branch "null" because: Cannot add another
> element to this Document as it already has a root element of: span
>
>  
>
> To verify, just enter “<foo/>” into the input textbox, and enter the
> following in the XPL text box:
>
>  
>
> <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
>
>     xmlns:f="http://orbeon.org/oxf/xml/formatting"
> xmlns:xhtml="http://www.w3.org/1999/xhtml"
>
>     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>
>     xmlns:delegation="http://orbeon.org/oxf/xml/delegation"
>
>     xmlns:oxf="http://www.orbeon.com/oxf/processors">
>
>   <p:param type="output" name="data"/>
>
>   <p:processor name="oxf:delegation">
>
>   <p:input name="interface">
>
>   <config>
>
>   <service id="quotes" type="webservice" style="rpc"
> endpoint="http://www.scdi.org/~avernet/webservice/">
>
>   <operation nsuri="urn:avernet" name="getRandomQuote"
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>
>   </service>
>
>   </config>
>
>   </p:input>
>
>   <p:input name="call">
>
>   <delegation:execute service="quotes" operation="getRandomQuote"
> xmlns:delegation="http://orbeon.org/oxf/xml/delegation"/>
>
>   </p:input>
>
>   <p:output name="data" ref="data"/>
>
>   </p:processor>
>
>   </p:config>
>
>  
>
> I have tried this for virtually every web services example available,
> and it all responds the same way. Does anyone have any idea as for why
> this is happening?
>
>  
>
> Thanks,
>
> Eric Lawson
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: XPL Sandbox error

Lawson, Eric
In reply to this post by Lawson, Eric
Thanks for the help!

-----Original Message-----
From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez
Sent: Wednesday, January 25, 2006 4:56 PM
To: [hidden email]
Subject: Re: [ops-users] XPL Sandbox error

I am not making 100% sense of the error I see, but it disappears if you
put a root element around <delegation:execute>. I suspect that there may

be text nodes in SAX around the root element returned by the web
service. I managed to fix the behavior by slightly modifying format.xpl.

It remains safer in this case to put a root element around
<delegation:execute>.

-Erik

Lawson, Eric wrote:
> That message seemed to get truncated. Here was the original message:
>
>  
>
> All,
>
>  
>
> Whenever I try to run a web services example in the XPL sandbox, I get

> this error:
>
>  
>
> XForms error: The node
> "org.orbeon.oxf.xml.dom4j.NonLazyUserDataElement@18dc649 [Element:
<span

> uri: http://www.w3.org/1999/xhtml attributes:
> [org.dom4j.util.UserDataAttribute@d5064b [Attribute: name class value
> "c"]]/>] userData: oxf:/config/theme/format.xpl, line 34, column 43"
> could not be added to the branch "null" because: Cannot add another
> element to this Document as it already has a root element of: span
>
>  
>
> To verify, just enter "<foo/>" into the input textbox, and enter the
> following in the XPL text box:
>
>  
>
> <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
>
>     xmlns:f="http://orbeon.org/oxf/xml/formatting"
> xmlns:xhtml="http://www.w3.org/1999/xhtml"
>
>     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>
>     xmlns:delegation="http://orbeon.org/oxf/xml/delegation"
>
>     xmlns:oxf="http://www.orbeon.com/oxf/processors">
>
>   <p:param type="output" name="data"/>
>
>   <p:processor name="oxf:delegation">
>
>   <p:input name="interface">
>
>   <config>
>
>   <service id="quotes" type="webservice" style="rpc"
> endpoint="http://www.scdi.org/~avernet/webservice/">
>
>   <operation nsuri="urn:avernet" name="getRandomQuote"
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>
>   </service>
>
>   </config>
>
>   </p:input>
>
>   <p:input name="call">
>
>   <delegation:execute service="quotes" operation="getRandomQuote"
> xmlns:delegation="http://orbeon.org/oxf/xml/delegation"/>
>
>   </p:input>
>
>   <p:output name="data" ref="data"/>
>
>   </p:processor>
>
>   </p:config>
>
>  
>
> I have tried this for virtually every web services example available,
> and it all responds the same way. Does anyone have any idea as for why

> this is happening?
>
>  
>
> Thanks,
>
> Eric Lawson
>
>  
>
>  
>
>
------------------------------------------------------------------------

>
> *From:* Lawson, Eric [mailto:[hidden email]]
> *Sent:* Wednesday, January 25, 2006 2:13 PM
> *To:* [hidden email]
> *Subject:* [ops-users] XPL Sandbox error
>
>  
>
> All,
>
>  
>
> Whenever I try to run a web services example in the XPL sandbox, I get

> this error:
>
>  
>
> XForms error: The node
> "org.orbeon.oxf.xml.dom4j.NonLazyUserDataElement@18dc649 [Element:
<span

> uri: http://www.w3.org/1999/xhtml attributes:
> [org.dom4j.util.UserDataAttribute@d5064b [Attribute: name class value
> "c"]]/>] userData: oxf:/config/theme/format.xpl, line 34, column 43"
> could not be added to the branch "null" because: Cannot add another
> element to this Document as it already has a root element of: span
>
>  
>
> To verify, just enter "<foo/>" into the input textbox, and enter the
> following in the XPL text box:
>
>  
>
> <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
>
>     xmlns:f="http://orbeon.org/oxf/xml/formatting"
> xmlns:xhtml="http://www.w3.org/1999/xhtml"
>
>     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>
>     xmlns:delegation="http://orbeon.org/oxf/xml/delegation"
>
>     xmlns:oxf="http://www.orbeon.com/oxf/processors">
>
>   <p:param type="output" name="data"/>
>
>   <p:processor name="oxf:delegation">
>
>   <p:input name="interface">
>
>   <config>
>
>   <service id="quotes" type="webservice" style="rpc"
> endpoint="http://www.scdi.org/~avernet/webservice/">
>
>   <operation nsuri="urn:avernet" name="getRandomQuote"
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>
>   </service>
>
>   </config>
>
>   </p:input>
>
>   <p:input name="call">
>
>   <delegation:execute service="quotes" operation="getRandomQuote"
> xmlns:delegation="http://orbeon.org/oxf/xml/delegation"/>
>
>   </p:input>
>
>   <p:output name="data" ref="data"/>
>
>   </p:processor>
>
>   </p:config>
>
>  
>
> I have tried this for virtually every web services example available,
> and it all responds the same way. Does anyone have any idea as for why

> this is happening?
>
>  
>
> Thanks,
>
> Eric Lawson
>
>
>
------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the
[hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws






--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws