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? |
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 |
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>
|
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 |
No. I am rather using 3.6. Is this only work for recent build?
|
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 |
Free forum by Nabble | Edit this page |