Weird Issue with xi:include

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

Weird Issue with xi:include

Ryan Puddephatt
Hi all,
    I have an xi:include that copies in my xforms:model and all the instance/submissions/binds etc. I have noticed in the epilogue that the included files produces this on the root element
 

<xforms:model xmlns:xhtml="" xmlns:xxforms="" xmlns:xs="" xmlns:f="" xmlns:xi="" xmlns:ev="" xmlns:xxi="" xmlns:xforms="" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdt="http://www.w3.org/2005/xpath-datatypes" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" xmlns:exforms="http://www.exforms.org/exf/1-0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xxi="http://orbeon.org/oxf/xml/xinclude" id="main-model">

This seems a bit strange, but still functions, after going through an XSLT processor, I think it attempts to tidy this up and creates

<xforms_0:model xmlns:xforms_0="http://www.w3.org/2002/xforms" xmlns="" xmlns:xdt="http://www.w3.org/2005/xpath-datatypes" xmlns:exforms="http://www.exforms.org/exf/1-0" id="main-model">

With other namespaces dotted about the XML post-fixed with _0 or _1

Any ideas as to why this is occuring?

Ryan

Ryan Puddephatt

Software Engineer

TFX Group - IT UK

1 Michaelson Square

Livingston

West Lothian

Scotand

EH54 7DP

 

* [hidden email]

( 01506 407 110

7  01506 407 108

 

 


--
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: Weird Issue with xi:include

Alessandro  Vernet
Administrator
Hi Ryan,

This is in the epilogue before running xforms-epilogue.xpl, right?
After that you should not have anything in the XForms namespace. Is
this causing a problem, or is it just a weird think you see when
looking at what flows in the epilogue with debug="..." attributes?

Alex

On 7/12/06, Ryan Puddephatt <[hidden email]> wrote:

>
>
> Hi all,
>     I have an xi:include that copies in my xforms:model and all the
> instance/submissions/binds etc. I have noticed in the epilogue that the
> included files produces this on the root element
>
>
>
> <xforms:model xmlns:xhtml="" xmlns:xxforms="" xmlns:xs="" xmlns:f=""
> xmlns:xi="" xmlns:ev="" xmlns:xxi="" xmlns:xforms="" xmlns=""
> xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns:xdt="http://www.w3.org/2005/xpath-datatypes"
> xmlns:xforms="http://www.w3.org/2002/xforms"
> xmlns:ev="http://www.w3.org/2001/xml-events"
> xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
> xmlns:exforms="http://www.exforms.org/exf/1-0"
> xmlns:xi="http://www.w3.org/2001/XInclude"
> xmlns:xxi="http://orbeon.org/oxf/xml/xinclude"
> id="main-model">
>
> This seems a bit strange, but still functions, after going through an XSLT
> processor, I think it attempts to tidy this up and creates
>
> <xforms_0:model xmlns:xforms_0="http://www.w3.org/2002/xforms" xmlns=""
> xmlns:xdt="http://www.w3.org/2005/xpath-datatypes"
> xmlns:exforms="http://www.exforms.org/exf/1-0" id="main-model">
>
> With other namespaces dotted about the XML post-fixed with _0 or _1
>
> Any ideas as to why this is occuring?
>
> Ryan
>
>
> Ryan Puddephatt
>
> Software Engineer
>
> TFX Group - IT UK
>
> 1 Michaelson Square
>
> Livingston
>
> West Lothian
>
> Scotand
>
> EH54 7DP
>
>
>
> * [hidden email]
>
> ( 01506 407 110
>
> 7  01506 407 108
>
>
>
>
> --
> 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
>
>
>

--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

RE: Weird Issue with xi:include

Ryan Puddephatt
Alex,
        Its not causing a problem, just something weird I see in
xforms-epilogues.xpl when using @debug

Didn't know whether this was the standard way of xi:include working or not

Ryan

Ryan Puddephatt
Software Engineer

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro
Vernet
Sent: 19 July 2006 01:39
To: [hidden email]
Subject: Re: [ops-users] Weird Issue with xi:include

Hi Ryan,

This is in the epilogue before running xforms-epilogue.xpl, right?
After that you should not have anything in the XForms namespace. Is this
causing a problem, or is it just a weird think you see when looking at what
flows in the epilogue with debug="..." attributes?

Alex

On 7/12/06, Ryan Puddephatt <[hidden email]> wrote:

>
>
> Hi all,
>     I have an xi:include that copies in my xforms:model and all the
> instance/submissions/binds etc. I have noticed in the epilogue that
> the included files produces this on the root element
>
>
>
> <xforms:model xmlns:xhtml="" xmlns:xxforms="" xmlns:xs="" xmlns:f=""
> xmlns:xi="" xmlns:ev="" xmlns:xxi="" xmlns:xforms="" xmlns=""
> xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns:xdt="http://www.w3.org/2005/xpath-datatypes"
> xmlns:xforms="http://www.w3.org/2002/xforms"
> xmlns:ev="http://www.w3.org/2001/xml-events"
> xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
> xmlns:exforms="http://www.exforms.org/exf/1-0"
> xmlns:xi="http://www.w3.org/2001/XInclude"
> xmlns:xxi="http://orbeon.org/oxf/xml/xinclude"
> id="main-model">
>
> This seems a bit strange, but still functions, after going through an
> XSLT processor, I think it attempts to tidy this up and creates
>
> <xforms_0:model xmlns:xforms_0="http://www.w3.org/2002/xforms" xmlns=""
> xmlns:xdt="http://www.w3.org/2005/xpath-datatypes"
> xmlns:exforms="http://www.exforms.org/exf/1-0" id="main-model">
>
> With other namespaces dotted about the XML post-fixed with _0 or _1
>
> Any ideas as to why this is occuring?
>
> Ryan
>
>
> Ryan Puddephatt
>
> Software Engineer
>
> TFX Group - IT UK
>
> 1 Michaelson Square
>
> Livingston
>
> West Lothian
>
> Scotand
>
> EH54 7DP
>
>
>
> * [hidden email]
>
> ( 01506 407 110
>
> 7  01506 407 108
>
>
>
>
> --
> 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
>
>
>

--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/





--
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