Simple Test in Sandbox

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

Simple Test in Sandbox

Salamon Mark
I downloaded v 3.5 M1 and am trying to test a very simple xhtml document in the sandbox.  unfortunately, the "Run Example" tab simply shows me the xhtml as xhtml, not as a nice form in the browser.  I can't figure out why it won't render the xhtml as a form.  All of the included examples work fine.  Here is the xhtml document:

<xhtml:html xmlns:xforms="http://www.w3.org/2002/xforms"
    xmlns:xhtml="http:/www.w3.org/1999/xhtml"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">

<xhtml:head>
<xhtml:title>Test A</xhtml:title>

<xforms:model id="main-model">

<xforms:instance id="instance">
<a>
    <b/>
</a>
</xforms:instance>

<xforms:bind nodeset="instance('instance')">
    <xforms:bind id="ab" nodeset="b" required="true()" type="xs:positiveInteger"/>
</xforms:bind>
<xforms:submission id="submit" ref="instance('instance')" action="/insert" method="post" replace="all" validate="false"/> <!-- need instance=""? -->

</xforms:model>
</xhtml:head>

<xhtml:body>
<xforms:group>
<xforms:label>Worksheet</xforms:label>
    <xforms:input xforms:ref="/a/b">
        <xforms:label>Enter integer:</xforms:label>
        <xforms:alert>Required</xforms:alert>
    </xforms:input>
    <xforms:group>
        <xforms:trigger>
            <xforms:label>Submit</xforms:label>
            <xforms:action>
                <xforms:send xforms:submission="submit"/>
            </xforms:action>
        </xforms:trigger>
        <xforms:trigger id="reset-btn">
            <xforms:label>Reset</xforms:label>
            <xforms:action>
                <xforms:reset id="reset"/>
            </xforms:action>
        </xforms:trigger>
    </xforms:group>
</xforms:group>
</xhtml:body>

</xhtml:html>


--
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: Simple Test in Sandbox

Erik Bruchez
Administrator
Mark,

Your namespace URI for XHTML is incorrect. Replace:

   http:/www.w3.org/1999/xhtml

with:

   http://www.w3.org/1999/xhtml

-Erik

Salamon Mark wrote:

> I downloaded v 3.5 M1 and am trying to test a very simple xhtml document
> in the sandbox.  unfortunately, the "Run Example" tab simply shows me
> the xhtml as xhtml, not as a nice form in the browser.  I can't figure
> out why it won't render the xhtml as a form.  All of the included
> examples work fine.  Here is the xhtml document:
>
> <xhtml:html xmlns:xforms="http://www.w3.org/2002/xforms"
>     xmlns:xhtml="http:/www.w3.org/1999/xhtml"
>     xmlns:xs="http://www.w3.org/2001/XMLSchema">
>
> <xhtml:head>
> <xhtml:title>Test A</xhtml:title>
>
> <xforms:model id="main-model">
>
> <xforms:instance id="instance">
> <a>
>     <b/>
> </a>
> </xforms:instance>
>
> <xforms:bind nodeset="instance('instance')">
>     <xforms:bind id="ab" nodeset="b" required="true()"
> type="xs:positiveInteger"/>
> </xforms:bind>
> <xforms:submission id="submit" ref="instance('instance')"
> action="/insert" method="post" replace="all" validate="false"/> <!--
> need instance=""? -->
>
> </xforms:model>
> </xhtml:head>
>
> <xhtml:body>
> <xforms:group>
> <xforms:label>Worksheet</xforms:label>
>     <xforms:input xforms:ref="/a/b">
>         <xforms:label>Enter integer:</xforms:label>
>         <xforms:alert>Required</xforms:alert>
>     </xforms:input>
>     <xforms:group>
>         <xforms:trigger>
>             <xforms:label>Submit</xforms:label>
>             <xforms:action>
>                 <xforms:send xforms:submission="submit"/>
>             </xforms:action>
>         </xforms:trigger>
>         <xforms:trigger id="reset-btn">
>             <xforms:label>Reset</xforms:label>
>             <xforms:action>
>                 <xforms:reset id="reset"/>
>             </xforms:action>
>         </xforms:trigger>
>     </xforms:group>
> </xforms:group>
> </xhtml:body>
>
> </xhtml:html>
--
Orbeon - XForms Everywhere:
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
Reply | Threaded
Open this post in threaded view
|

Re: Effect of XML Processing Model Working Group and XProc on XPL

Brian Bacsu
In reply to this post by Salamon Mark

Hi

I am just wondering what the effect of the  W3C XML Processing Model Working Group, and the just published XProc XML Pipeline Language working draft,  will be on XPL and future versions of Orbeon. I noticed that Orbeon is well represented on the working group. Has this taken over as the next step beyond Orbeon's submission of XPL to the W3C?

Thanks,

Brian Bacsu


--
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: Effect of XML Processing Model Working Group and XProc on XPL

Erik Bruchez
Administrator
Brian,

Well you are fast, the target date for our first public working draft
was September 28 ;-)

But that's right, the XML Processing Model Working Group of which we
are a member is defining a standard XML pipeline language, in other
words a standard XPL-like language. As the charter [1] mentioned, the
XPL submission was one of the inputs for the working group.

It is a little early for details, but we of course do hope to
implement the language in OPS once it is fully specified, since our
goal all along was to work towards a standard XML pipeline language in
OPS.

XProc is in fact fairly close to XPL in concept and even in syntax
(although none of this is final at the moment), although not
identical. Ultimately we think that XProc (or whatever it ends up
being called!) should replace XPL.

-Erik

[1] http://www.w3.org/2005/10/xml-processing-model-wg-charter.html

Brian Bacsu wrote:
 >
 > Hi
 >
 > I am just wondering what the effect of the  W3C XML Processing Model
 > Working Group, and the just published XProc XML Pipeline Language
 > working draft,  will be on XPL and future versions of Orbeon. I noticed
 > that Orbeon is well represented on the working group. Has this taken
 > over as the next step beyond Orbeon's submission of XPL to the W3C?
 >
 > Thanks,
 >
 > Brian Bacsu

--
Orbeon - XForms Everywhere:
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
Reply | Threaded
Open this post in threaded view
|

Re: Effect of XML Processing Model Working Group and XProc on XPL

Erik Bruchez
Administrator
FYI we have now posted a blog entry on the subject:

http://www.orbeon.com/blog/2006/10/05/first-public-working-draft-of-xproc-xml-pipeline-language/

-Erik

Erik Bruchez wrote:

> Brian,
>
> Well you are fast, the target date for our first public working draft
> was September 28 ;-)
>
> But that's right, the XML Processing Model Working Group of which we
> are a member is defining a standard XML pipeline language, in other
> words a standard XPL-like language. As the charter [1] mentioned, the
> XPL submission was one of the inputs for the working group.
>
> It is a little early for details, but we of course do hope to
> implement the language in OPS once it is fully specified, since our
> goal all along was to work towards a standard XML pipeline language in
> OPS.
>
> XProc is in fact fairly close to XPL in concept and even in syntax
> (although none of this is final at the moment), although not
> identical. Ultimately we think that XProc (or whatever it ends up
> being called!) should replace XPL.
>
> -Erik
>
> [1] http://www.w3.org/2005/10/xml-processing-model-wg-charter.html
>
> Brian Bacsu wrote:
>  >
>  > Hi
>  >
>  > I am just wondering what the effect of the  W3C XML Processing Model
>  > Working Group, and the just published XProc XML Pipeline Language
>  > working draft,  will be on XPL and future versions of Orbeon. I noticed
>  > that Orbeon is well represented on the working group. Has this taken
>  > over as the next step beyond Orbeon's submission of XPL to the W3C?
>  >
>  > Thanks,
>  >
>  > Brian Bacsu
>
--
Orbeon - XForms Everywhere:
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