How to prevent xforms related namespace added to doc instance?

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

How to prevent xforms related namespace added to doc instance?

quinquin2209
Hi,

When I submit the doc-instance to backend, I found that the following xform-related namespaces are added to the root element:

<PurchaseOrderConfirmation <b>xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:abc="urn:abc-1.0" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" xmlns="urn:PurchaseOrderConfirmation-1.0" xmlns:def="urn:def-1.0" xmlns:xforms="http://www.w3.org/2002/xforms">

is there any way to prevent this from happening?

Reply | Threaded
Open this post in threaded view
|

RE: How to prevent xforms related namespace added to doc instance?

Maarten den Heyer
Add the attribute
xxforms:exclude-result-prefixes="#all" or
xxforms:exclude-result-prefixes="xsl xxforms xforms xlink" to your
instance and they should be gone.

-----Oorspronkelijk bericht-----
Van: quinquin2209 [mailto:[hidden email]]
Verzonden: donderdag 23 april 2009 6:23
Aan: [hidden email]
Onderwerp: [ops-users] How to prevent xforms related namespace added to
doc instance?


Hi,

When I submit the doc-instance to backend, I found that the following
xform-related namespaces are added to the root element:

<PurchaseOrderConfirmation xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:abc="urn:abc-1.0"
xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
xmlns="urn:PurchaseOrderConfirmation-1.0" xmlns:def="urn:def-1.0"
xmlns:xforms="http://www.w3.org/2002/xforms">

is there any way to prevent this from happening?


--
View this message in context:
http://www.nabble.com/How-to-prevent-xforms-related-namespace-added-to-d
oc-instance--tp23189690p23189690.html
Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.



--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: How to prevent xforms related namespace added to doc instance?

quinquin2209
Thanks for reply. However it doesn't work. I have added the suggested attribute as follow:

<xforms:instance id="doc-instance" xxforms:exclude-result-prefixes="#all">
    <s:property value="xmlMessage" escape="false"/>
</xforms:instance>

<xforms:submission id="save-submission" ref="instance('doc-instance')"
  action="<s:url value="%{saveXForm}" />"
                method="post">
</xforms:submission>




Maarten den Heyer wrote
Add the attribute
xxforms:exclude-result-prefixes="#all" or
xxforms:exclude-result-prefixes="xsl xxforms xforms xlink" to your
instance and they should be gone.

-----Oorspronkelijk bericht-----
Van: quinquin2209 [mailto:quinquin2209-noip@yahoo.com.hk]
Verzonden: donderdag 23 april 2009 6:23
Aan: ops-users@ow2.org
Onderwerp: [ops-users] How to prevent xforms related namespace added to
doc instance?


Hi,

When I submit the doc-instance to backend, I found that the following
xform-related namespaces are added to the root element:

<PurchaseOrderConfirmation xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:abc="urn:abc-1.0"
xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
xmlns="urn:PurchaseOrderConfirmation-1.0" xmlns:def="urn:def-1.0"
xmlns:xforms="http://www.w3.org/2002/xforms">

is there any way to prevent this from happening?


--
View this message in context:
http://www.nabble.com/How-to-prevent-xforms-related-namespace-added-to-d
oc-instance--tp23189690p23189690.html
Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.



--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: RE: How to prevent xforms related namespace added to doc instance?

Erik Bruchez
Administrator
Is this with a recent build?

-Erik

On Apr 23, 2009, at 7:24 PM, quinquin2209 wrote:

>
> Thanks for reply. However it doesn't work. I have added the suggested
> attribute as follow:
>
> <xforms:instance id="doc-instance" xxforms:exclude-result-
> prefixes="#all">
>    <s:property value="xmlMessage" escape="false"/>
> </xforms:instance>
>
> <xforms:submission id="save-submission" ref="instance('doc-instance')"
>   action="<s:url value="%{saveXForm}" />"
> method="post">
> </xforms:submission>
>
>
>
>
>
> Maarten den Heyer wrote:
>>
>> Add the attribute
>> xxforms:exclude-result-prefixes="#all" or
>> xxforms:exclude-result-prefixes="xsl xxforms xforms xlink" to your
>> instance and they should be gone.
>>
>> -----Oorspronkelijk bericht-----
>> Van: quinquin2209 [mailto:[hidden email]]
>> Verzonden: donderdag 23 april 2009 6:23
>> Aan: [hidden email]
>> Onderwerp: [ops-users] How to prevent xforms related namespace  
>> added to
>> doc instance?
>>
>>
>> Hi,
>>
>> When I submit the doc-instance to backend, I found that the following
>> xform-related namespaces are added to the root element:
>>
>> <PurchaseOrderConfirmation xmlns:ev="http://www.w3.org/2001/xml-events 
>> "
>> xmlns:xhtml="http://www.w3.org/1999/xhtml"
>> xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:abc="urn:abc-1.0"
>> xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
>> xmlns="urn:PurchaseOrderConfirmation-1.0" xmlns:def="urn:def-1.0"
>> xmlns:xforms="http://www.w3.org/2002/xforms">
>>
>> is there any way to prevent this from happening?
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: RE: How to prevent xforms related namespace added to doc instance?

quinquin2209
No. I am rather using 3.6. Is this only work for recent build?

Erik Bruchez wrote
Is this with a recent build?

-Erik

On Apr 23, 2009, at 7:24 PM, quinquin2209 wrote:

>
> Thanks for reply. However it doesn't work. I have added the suggested
> attribute as follow:
>
> <xforms:instance id="doc-instance" xxforms:exclude-result-
> prefixes="#all">
>    <s:property value="xmlMessage" escape="false"/>
> </xforms:instance>
>
> <xforms:submission id="save-submission" ref="instance('doc-instance')"
>  action="<s:url value="%{saveXForm}" />"
> method="post">
> </xforms:submission>
>
>
>
>
>
> Maarten den Heyer wrote:
>>
>> Add the attribute
>> xxforms:exclude-result-prefixes="#all" or
>> xxforms:exclude-result-prefixes="xsl xxforms xforms xlink" to your
>> instance and they should be gone.
>>
>> -----Oorspronkelijk bericht-----
>> Van: quinquin2209 [mailto:quinquin2209-noip@yahoo.com.hk]
>> Verzonden: donderdag 23 april 2009 6:23
>> Aan: ops-users@ow2.org
>> Onderwerp: [ops-users] How to prevent xforms related namespace  
>> added to
>> doc instance?
>>
>>
>> Hi,
>>
>> When I submit the doc-instance to backend, I found that the following
>> xform-related namespaces are added to the root element:
>>
>> <PurchaseOrderConfirmation xmlns:ev="http://www.w3.org/2001/xml-events 
>> "
>> xmlns:xhtml="http://www.w3.org/1999/xhtml"
>> xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:abc="urn:abc-1.0"
>> xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
>> xmlns="urn:PurchaseOrderConfirmation-1.0" xmlns:def="urn:def-1.0"
>> xmlns:xforms="http://www.w3.org/2002/xforms">
>>
>> is there any way to prevent this from happening?

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: RE: How to prevent xforms related namespace added to doc instance?

Erik Bruchez
Administrator
Yes, most likely this was implemented post-3.6.

-Erik

On Apr 23, 2009, at 7:49 PM, quinquin2209 wrote:

>
> No. I am rather using 3.6. Is this only work for recent build?
>
>
> Erik Bruchez wrote:
>>
>> Is this with a recent build?
>>
>> -Erik
>>
>> On Apr 23, 2009, at 7:24 PM, quinquin2209 wrote:
>>
>>>
>>> Thanks for reply. However it doesn't work. I have added the  
>>> suggested
>>> attribute as follow:
>>>
>>> <xforms:instance id="doc-instance" xxforms:exclude-result-
>>> prefixes="#all">
>>>   <s:property value="xmlMessage" escape="false"/>
>>> </xforms:instance>
>>>
>>> <xforms:submission id="save-submission" ref="instance('doc-
>>> instance')"
>>> action="<s:url value="%{saveXForm}" />"
>>> method="post">
>>> </xforms:submission>
>>>
>>>
>>>
>>>
>>>
>>> Maarten den Heyer wrote:
>>>>
>>>> Add the attribute
>>>> xxforms:exclude-result-prefixes="#all" or
>>>> xxforms:exclude-result-prefixes="xsl xxforms xforms xlink" to your
>>>> instance and they should be gone.
>>>>
>>>> -----Oorspronkelijk bericht-----
>>>> Van: quinquin2209 [mailto:[hidden email]]
>>>> Verzonden: donderdag 23 april 2009 6:23
>>>> Aan: [hidden email]
>>>> Onderwerp: [ops-users] How to prevent xforms related namespace
>>>> added to
>>>> doc instance?
>>>>
>>>>
>>>> Hi,
>>>>
>>>> When I submit the doc-instance to backend, I found that the  
>>>> following
>>>> xform-related namespaces are added to the root element:
>>>>
>>>> <PurchaseOrderConfirmation xmlns:ev="http://www.w3.org/2001/xml-events
>>>> "
>>>> xmlns:xhtml="http://www.w3.org/1999/xhtml"
>>>> xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:abc="urn:abc-1.0"
>>>> xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
>>>> xmlns="urn:PurchaseOrderConfirmation-1.0" xmlns:def="urn:def-1.0"
>>>> xmlns:xforms="http://www.w3.org/2002/xforms">
>>>>
>>>> is there any way to prevent this from happening?
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>> http://www.orbeon.com/
>>
>>
>>
>> --
>> 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
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> View this message in context: http://www.nabble.com/How-to-prevent-xforms-related-namespace-added-to-doc-instance--tp23189690p23208883.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> 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
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
OW2 mailing lists service home page: http://www.ow2.org/wws