Loading ...
Sorry, an error occurred while loading the content.

Validation within a group element fails?

Expand Messages
  • tradocs_uk
    Hi, just started using xforms - not sure if this is a formsplayer issue, xforms issue, or ignorance on my part. I am validating against an xsd. here is a
    Message 1 of 9 , Aug 1, 2006
    • 0 Attachment
      Hi, just started using xforms - not sure if this is a formsplayer
      issue, xforms issue, or ignorance on my part.

      I am validating against an xsd. here is a snippet...

      (the xsd)
      ....
      <xs:complexType name="MessageIdentification1">
      <xs:sequence>
      <xs:element name="Id" type="Max35Text"/>
      <xs:element name="CreDtTm" type="ISODateTime"/>

      ...

      </xs:sequence>
      </xs:complexType>
      <xs:sequence>
      <xs:element name="AckId" type="MessageIdentification1"/>
      ...

      in the xform:

      validation works this way:

      ...
      <xforms:label>Ack Id</xforms:label>
      <xforms:input id="inpId"
      ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:Id">
      <xforms:label>Id</xforms:label>
      <xforms:alert>Give me an ID! - MAX 35 characters</xforms:alert>
      </xforms:input>
      <br />
      <xforms:input id="inpCreDtTm"
      ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:CreDtTm">
      <xforms:label>Cre Dt Tm</xforms:label>
      <xforms:alert>NOT a valid date time is it?</xforms:alert>
      </xforms:input>
      ...

      but not when put in a group:

      ....
      <xforms:group id="grpAckId"
      ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId">
      <xforms:label>Ack Id</xforms:label>
      <xforms:input id="inpId" ref="Doc:Id">
      <xforms:label>Id</xforms:label>
      <xforms:alert>Give me an ID! - MAX 35 characters</xforms:alert>
      </xforms:input>
      <br />
      <xforms:input id="inpCreDtTm" ref="Doc:CreDtTm">
      <xforms:label>Cre Dt Tm</xforms:label>
      <xforms:alert>NOT a valid date time is it?</xforms:alert>
      </xforms:input>
      </xforms:group>
      ...

      I have tried all variations on the xpath, including adding the full
      path within the group. Nothing works.

      Can only get validation working by removing the group tags. I have
      used xformation to generate the form from the xsd.

      Many thanks to anyone who can suggest anything or offer any help.

      John.
    • Mark Birbeck
      Hi John, It s difficult to say from a distance :) but at first glance your XPath statements don t seem to be equivalent. In the first example you have two
      Message 2 of 9 , Aug 1, 2006
      • 0 Attachment
        Hi John,

        It's difficult to say from a distance :) but at first glance your
        XPath statements don't seem to be equivalent. In the first example you
        have two controls, bound to:

        /Doc:Document/Doc:tsmt.001.001.01/Doc:Id
        /Doc:Document/Doc:tsmt.001.001.01/Doc:CreDtTm

        In the second example you have the controls bound to:

        /Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:Id
        /Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:CreDtTm

        This may be intentional--i.e., the nodes may exist at both levels--or
        you may have just made a typo when cutting and pasting into the email.
        But if your actual form is like this, and the nodes don't exist, then
        things won't work as you want.

        Perhaps you could double-check and let us know?

        Regards,

        Mark

        On 01/08/06, tradocs_uk <johnstean@...> wrote:
        >
        >
        >
        >
        >
        >
        >
        > Hi, just started using xforms - not sure if this is a formsplayer
        > issue, xforms issue, or ignorance on my part.
        >
        > I am validating against an xsd. here is a snippet...
        >
        > (the xsd)
        > ....
        > <xs:complexType name="MessageIdentification1">
        > <xs:sequence>
        > <xs:element name="Id" type="Max35Text"/>
        > <xs:element name="CreDtTm" type="ISODateTime"/>
        >
        > ...
        >
        > </xs:sequence>
        > </xs:complexType>
        > <xs:sequence>
        > <xs:element name="AckId" type="MessageIdentification1"/>
        > ...
        >
        > in the xform:
        >
        > validation works this way:
        >
        > ...
        > <xforms:label>Ack Id</xforms:label>
        > <xforms:input id="inpId"
        > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:Id">
        > <xforms:label>Id</xforms:label>
        > <xforms:alert>Give me an ID! - MAX 35 characters</xforms:alert>
        > </xforms:input>
        > <br />
        > <xforms:input id="inpCreDtTm"
        > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:CreDtTm">
        > <xforms:label>Cre Dt Tm</xforms:label>
        > <xforms:alert>NOT a valid date time is it?</xforms:alert>
        > </xforms:input>
        > ...
        >
        > but not when put in a group:
        >
        > ....
        > <xforms:group id="grpAckId"
        > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId">
        > <xforms:label>Ack Id</xforms:label>
        > <xforms:input id="inpId" ref="Doc:Id">
        > <xforms:label>Id</xforms:label>
        > <xforms:alert>Give me an ID! - MAX 35 characters</xforms:alert>
        > </xforms:input>
        > <br />
        > <xforms:input id="inpCreDtTm" ref="Doc:CreDtTm">
        > <xforms:label>Cre Dt Tm</xforms:label>
        > <xforms:alert>NOT a valid date time is it?</xforms:alert>
        > </xforms:input>
        > </xforms:group>
        > ...
        >
        > I have tried all variations on the xpath, including adding the full
        > path within the group. Nothing works.
        >
        > Can only get validation working by removing the group tags. I have
        > used xformation to generate the form from the xsd.
        >
        > Many thanks to anyone who can suggest anything or offer any help.
        >
        > John.
        >
        >



        --
        Mark Birbeck
        CEO
        x-port.net Ltd.

        e: Mark.Birbeck@...
        t: +44 (0) 20 7689 9232
        w: http://www.formsPlayer.com/
        b: http://internet-apps.blogspot.com/

        Download our XForms processor from
        http://www.formsPlayer.com/
      • tradocs_uk
        Hi Mark, appreciate you taking a look. Yes, this was a cut n paste error in the post (cant edit the post?) . Here is the corrected NON-group snippet that works
        Message 3 of 9 , Aug 1, 2006
        • 0 Attachment
          Hi Mark, appreciate you taking a look. Yes, this was a cut n paste
          error in the post (cant edit the post?) . Here is the corrected
          NON-group snippet that works for validation:

          ...
          <xforms:input id="inpId"
          ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:Id">
          <xforms:label>Id</xforms:label>
          <xforms:alert>Give me an ID! - MAX 35 characters</xforms:alert>
          </xforms:input>
          <br />
          <xforms:input id="inpCreDtTm"
          ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:CreDtTm">
          <xforms:label>Cre Dt Tm</xforms:label>
          <xforms:alert>NOT a valid date time is it?</xforms:alert>
          </xforms:input>
          ....
          and using the GROUP element it does not validate:

          <xforms:group ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId">
          <xforms:input id="inpId" ref="Doc:Id">
          <xforms:label>Id</xforms:label>
          <xforms:alert>Give me an ID! - MAX 35 characters</xforms:alert>
          </xforms:input>
          <br />
          <xforms:input id="inpCreDtTm" ref="Doc:CreDtTm">
          <xforms:label>Cre Dt Tm</xforms:label>
          <xforms:alert>NOT a valid date time is it?</xforms:alert>
          </xforms:input>
          </xforms:group>



          --- In formsPlayer@yahoogroups.com, "Mark Birbeck" <mark.birbeck@...>
          wrote:
          >
          > Hi John,
          >
          > It's difficult to say from a distance :) but at first glance your
          > XPath statements don't seem to be equivalent. In the first example you
          > have two controls, bound to:
          >
          > /Doc:Document/Doc:tsmt.001.001.01/Doc:Id
          > /Doc:Document/Doc:tsmt.001.001.01/Doc:CreDtTm
          >
          > In the second example you have the controls bound to:
          >
          > /Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:Id
          > /Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:CreDtTm
          >
          > This may be intentional--i.e., the nodes may exist at both levels--or
          > you may have just made a typo when cutting and pasting into the email.
          > But if your actual form is like this, and the nodes don't exist, then
          > things won't work as you want.
          >
          > Perhaps you could double-check and let us know?
          >
          > Regards,
          >
          > Mark
          >
          > On 01/08/06, tradocs_uk <johnstean@...> wrote:
          > >
          > >
          > >
          > >
          > >
          > >
          > >
          > > Hi, just started using xforms - not sure if this is a formsplayer
          > > issue, xforms issue, or ignorance on my part.
          > >
          > > I am validating against an xsd. here is a snippet...
          > >
          > > (the xsd)
          > > ....
          > > <xs:complexType name="MessageIdentification1">
          > > <xs:sequence>
          > > <xs:element name="Id" type="Max35Text"/>
          > > <xs:element name="CreDtTm" type="ISODateTime"/>
          > >
          > > ...
          > >
          > > </xs:sequence>
          > > </xs:complexType>
          > > <xs:sequence>
          > > <xs:element name="AckId" type="MessageIdentification1"/>
          > > ...
          > >
          > > in the xform:
          > >
          > > validation works this way:
          > >
          > > ...
          > > <xforms:label>Ack Id</xforms:label>
          > > <xforms:input id="inpId"
          > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:Id">
          > > <xforms:label>Id</xforms:label>
          > > <xforms:alert>Give me an ID! - MAX 35 characters</xforms:alert>
          > > </xforms:input>
          > > <br />
          > > <xforms:input id="inpCreDtTm"
          > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:CreDtTm">
          > > <xforms:label>Cre Dt Tm</xforms:label>
          > > <xforms:alert>NOT a valid date time is it?</xforms:alert>
          > > </xforms:input>
          > > ...
          > >
          > > but not when put in a group:
          > >
          > > ....
          > > <xforms:group id="grpAckId"
          > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId">
          > > <xforms:label>Ack Id</xforms:label>
          > > <xforms:input id="inpId" ref="Doc:Id">
          > > <xforms:label>Id</xforms:label>
          > > <xforms:alert>Give me an ID! - MAX 35 characters</xforms:alert>
          > > </xforms:input>
          > > <br />
          > > <xforms:input id="inpCreDtTm" ref="Doc:CreDtTm">
          > > <xforms:label>Cre Dt Tm</xforms:label>
          > > <xforms:alert>NOT a valid date time is it?</xforms:alert>
          > > </xforms:input>
          > > </xforms:group>
          > > ...
          > >
          > > I have tried all variations on the xpath, including adding the full
          > > path within the group. Nothing works.
          > >
          > > Can only get validation working by removing the group tags. I have
          > > used xformation to generate the form from the xsd.
          > >
          > > Many thanks to anyone who can suggest anything or offer any help.
          > >
          > > John.
          > >
          > >
          >
          >
          >
          > --
          > Mark Birbeck
          > CEO
          > x-port.net Ltd.
          >
          > e: Mark.Birbeck@...
          > t: +44 (0) 20 7689 9232
          > w: http://www.formsPlayer.com/
          > b: http://internet-apps.blogspot.com/
          >
          > Download our XForms processor from
          > http://www.formsPlayer.com/
          >
        • patrickseiffert
          Hi John. Couldn t find the error in your form. BUT I can tell you that validation inside a group does work using the following example: CODE-START:
          Message 4 of 9 , Aug 1, 2006
          • 0 Attachment
            Hi John.

            Couldn't find the error in your form.
            BUT I can tell you that validation inside a group does work using the
            following example:

            CODE-START:
            <?xml version="1.0" encoding="UTF-8"?>
            <html xmlns="http://www.w3.org/1999/xhtml"
            xmlns:xf="http://www.w3.org/2002/xforms"
            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xmlns:ev="http://www.w3.org/2001/xml-events">
            <object classid="CLSID:4D0ABA11-C5F0-4478-991A-375C4B648F58"
            id="formsPlayer" height="0" width="0">
            <b>formsPlayer has failed to load! Please check your installation.</b>
            </object>
            <?import namespace="xf" implementation="#formsPlayer" ?>
            <head>
            <title>Event</title>
            <xf:model>
            <xf:instance>
            <data xmlns="">
            <id />
            <ob />
            </data>
            </xf:instance>
            <xf:bind nodeset="/data/id" type="xsd:positiveInteger"
            required="false" />
            <xf:submission id="s"
            action="file://D:\Code\XML\XMLEvents\events.xml" method="put" />
            </xf:model>
            </head>
            <body>
            <xf:group>
            <div>
            <xf:input ref="id" id="theInput">
            <xf:label>id akzeptiert NUR "positiveInteger": </xf:label>
            <xf:action ev:event="xforms-invalid">
            <xf:message level="modal">invalide-event vom input "id"</xf:message>
            </xf:action>
            </xf:input>
            </div>
            <div>
            <xf:input ref="ob">
            <xf:label>ob akzeptiert ALLES: </xf:label>
            </xf:input>
            </div>
            <div>
            <xf:input ref="ob">
            <xf:label>ob akzeptiert ALLES DomFokusIn: </xf:label>
            <xf:message level="modal" ev:event="DOMFocusIn">Fokus in
            "ob"</xf:message>
            </xf:input>
            </div>
            </xf:group>
            <div>
            <xf:submit submission="s" id="idSubmit">
            <xf:label>submit</xf:label>
            </xf:submit>
            </div>
            </body>
            </html>

            CODE-END

            You can copy/paste all the code and try it on your formsplayers
            installation.

            Hope my simple example can help you. Otherwise perhaps you should
            publish your whole code.

            Regards,
            Patrick
            --- In formsPlayer@yahoogroups.com, "tradocs_uk" <johnstean@...> wrote:
            >
            > Hi Mark, appreciate you taking a look. Yes, this was a cut n paste
            > error in the post (cant edit the post?) . Here is the corrected
            > NON-group snippet that works for validation:
            >
            > ...
            > <xforms:input id="inpId"
            > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:Id">
            > <xforms:label>Id</xforms:label>
            > <xforms:alert>Give me an ID! - MAX 35 characters</xforms:alert>
            > </xforms:input>
            > <br />
            > <xforms:input id="inpCreDtTm"
            > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:CreDtTm">
            > <xforms:label>Cre Dt Tm</xforms:label>
            > <xforms:alert>NOT a valid date time is it?</xforms:alert>
            > </xforms:input>
            > ....
            > and using the GROUP element it does not validate:
            >
            > <xforms:group ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId">

            > <xforms:input id="inpId" ref="Doc:Id">
            > <xforms:label>Id</xforms:label>
            > <xforms:alert>Give me an ID! - MAX 35 characters</xforms:alert>
            > </xforms:input>
            > <br />
            > <xforms:input id="inpCreDtTm" ref="Doc:CreDtTm">
            > <xforms:label>Cre Dt Tm</xforms:label>
            > <xforms:alert>NOT a valid date time is it?</xforms:alert>
            > </xforms:input>
            > </xforms:group>
            >
            >
            >
            > --- In formsPlayer@yahoogroups.com, "Mark Birbeck" <mark.birbeck@>
            > wrote:
            > >
            > > Hi John,
            > >
            > > It's difficult to say from a distance :) but at first glance your
            > > XPath statements don't seem to be equivalent. In the first example you
            > > have two controls, bound to:
            > >
            > > /Doc:Document/Doc:tsmt.001.001.01/Doc:Id
            > > /Doc:Document/Doc:tsmt.001.001.01/Doc:CreDtTm
            > >
            > > In the second example you have the controls bound to:
            > >
            > > /Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:Id
            > > /Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:CreDtTm
            > >
            > > This may be intentional--i.e., the nodes may exist at both levels--or
            > > you may have just made a typo when cutting and pasting into the email.
            > > But if your actual form is like this, and the nodes don't exist, then
            > > things won't work as you want.
            > >
            > > Perhaps you could double-check and let us know?
            > >
            > > Regards,
            > >
            > > Mark
            > >
            > > On 01/08/06, tradocs_uk <johnstean@> wrote:
            > > >
            > > >
            > > >
            > > >
            > > >
            > > >
            > > >
            > > > Hi, just started using xforms - not sure if this is a formsplayer
            > > > issue, xforms issue, or ignorance on my part.
            > > >
            > > > I am validating against an xsd. here is a snippet...
            > > >
            > > > (the xsd)
            > > > ....
            > > > <xs:complexType name="MessageIdentification1">
            > > > <xs:sequence>
            > > > <xs:element name="Id" type="Max35Text"/>
            > > > <xs:element name="CreDtTm" type="ISODateTime"/>
            > > >
            > > > ...
            > > >
            > > > </xs:sequence>
            > > > </xs:complexType>
            > > > <xs:sequence>
            > > > <xs:element name="AckId" type="MessageIdentification1"/>
            > > > ...
            > > >
            > > > in the xform:
            > > >
            > > > validation works this way:
            > > >
            > > > ...
            > > > <xforms:label>Ack Id</xforms:label>
            > > > <xforms:input id="inpId"
            > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:Id">
            > > > <xforms:label>Id</xforms:label>
            > > > <xforms:alert>Give me an ID! - MAX 35 characters</xforms:alert>
            > > > </xforms:input>
            > > > <br />
            > > > <xforms:input id="inpCreDtTm"
            > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:CreDtTm">
            > > > <xforms:label>Cre Dt Tm</xforms:label>
            > > > <xforms:alert>NOT a valid date time is it?</xforms:alert>
            > > > </xforms:input>
            > > > ...
            > > >
            > > > but not when put in a group:
            > > >
            > > > ....
            > > > <xforms:group id="grpAckId"
            > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId">
            > > > <xforms:label>Ack Id</xforms:label>
            > > > <xforms:input id="inpId" ref="Doc:Id">
            > > > <xforms:label>Id</xforms:label>
            > > > <xforms:alert>Give me an ID! - MAX 35 characters</xforms:alert>
            > > > </xforms:input>
            > > > <br />
            > > > <xforms:input id="inpCreDtTm" ref="Doc:CreDtTm">
            > > > <xforms:label>Cre Dt Tm</xforms:label>
            > > > <xforms:alert>NOT a valid date time is it?</xforms:alert>
            > > > </xforms:input>
            > > > </xforms:group>
            > > > ...
            > > >
            > > > I have tried all variations on the xpath, including adding the full
            > > > path within the group. Nothing works.
            > > >
            > > > Can only get validation working by removing the group tags. I have
            > > > used xformation to generate the form from the xsd.
            > > >
            > > > Many thanks to anyone who can suggest anything or offer any help.
            > > >
            > > > John.
            > > >
            > > >
            > >
            > >
            > >
            > > --
            > > Mark Birbeck
            > > CEO
            > > x-port.net Ltd.
            > >
            > > e: Mark.Birbeck@
            > > t: +44 (0) 20 7689 9232
            > > w: http://www.formsPlayer.com/
            > > b: http://internet-apps.blogspot.com/
            > >
            > > Download our XForms processor from
            > > http://www.formsPlayer.com/
            > >
            >
          • patrickseiffert
            John. Note that I used a simple type-binding instead of linking with an schema! Bye ... id ... example you ... levels--or ... email. ... then
            Message 5 of 9 , Aug 1, 2006
            • 0 Attachment
              John.

              Note that I used a simple type-binding instead of linking with an schema!

              Bye

              --- In formsPlayer@yahoogroups.com, "patrickseiffert" <seiffert@...>
              wrote:
              >
              > Hi John.
              >
              > Couldn't find the error in your form.
              > BUT I can tell you that validation inside a group does work using the
              > following example:
              >
              > CODE-START:
              > <?xml version="1.0" encoding="UTF-8"?>
              > <html xmlns="http://www.w3.org/1999/xhtml"
              > xmlns:xf="http://www.w3.org/2002/xforms"
              > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              > xmlns:ev="http://www.w3.org/2001/xml-events">
              > <object classid="CLSID:4D0ABA11-C5F0-4478-991A-375C4B648F58"
              > id="formsPlayer" height="0" width="0">
              > <b>formsPlayer has failed to load! Please check your installation.</b>
              > </object>
              > <?import namespace="xf" implementation="#formsPlayer" ?>
              > <head>
              > <title>Event</title>
              > <xf:model>
              > <xf:instance>
              > <data xmlns="">
              > <id />
              > <ob />
              > </data>
              > </xf:instance>
              > <xf:bind nodeset="/data/id" type="xsd:positiveInteger"
              > required="false" />
              > <xf:submission id="s"
              > action="file://D:\Code\XML\XMLEvents\events.xml" method="put" />
              > </xf:model>
              > </head>
              > <body>
              > <xf:group>
              > <div>
              > <xf:input ref="id" id="theInput">
              > <xf:label>id akzeptiert NUR "positiveInteger": </xf:label>
              > <xf:action ev:event="xforms-invalid">
              > <xf:message level="modal">invalide-event vom input
              "id"</xf:message>
              > </xf:action>
              > </xf:input>
              > </div>
              > <div>
              > <xf:input ref="ob">
              > <xf:label>ob akzeptiert ALLES: </xf:label>
              > </xf:input>
              > </div>
              > <div>
              > <xf:input ref="ob">
              > <xf:label>ob akzeptiert ALLES DomFokusIn: </xf:label>
              > <xf:message level="modal" ev:event="DOMFocusIn">Fokus in
              > "ob"</xf:message>
              > </xf:input>
              > </div>
              > </xf:group>
              > <div>
              > <xf:submit submission="s" id="idSubmit">
              > <xf:label>submit</xf:label>
              > </xf:submit>
              > </div>
              > </body>
              > </html>
              >
              > CODE-END
              >
              > You can copy/paste all the code and try it on your formsplayers
              > installation.
              >
              > Hope my simple example can help you. Otherwise perhaps you should
              > publish your whole code.
              >
              > Regards,
              > Patrick
              > --- In formsPlayer@yahoogroups.com, "tradocs_uk" <johnstean@> wrote:
              > >
              > > Hi Mark, appreciate you taking a look. Yes, this was a cut n paste
              > > error in the post (cant edit the post?) . Here is the corrected
              > > NON-group snippet that works for validation:
              > >
              > > ...
              > > <xforms:input id="inpId"
              > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:Id">
              > > <xforms:label>Id</xforms:label>
              > > <xforms:alert>Give me an ID! - MAX 35 characters</xforms:alert>
              > > </xforms:input>
              > > <br />
              > > <xforms:input id="inpCreDtTm"
              > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:CreDtTm">
              > > <xforms:label>Cre Dt Tm</xforms:label>
              > > <xforms:alert>NOT a valid date time is it?</xforms:alert>
              > > </xforms:input>
              > > ....
              > > and using the GROUP element it does not validate:
              > >
              > > <xforms:group ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId">
              >
              > > <xforms:input id="inpId" ref="Doc:Id">
              > > <xforms:label>Id</xforms:label>
              > > <xforms:alert>Give me an ID! - MAX 35 characters</xforms:alert>
              > > </xforms:input>
              > > <br />
              > > <xforms:input id="inpCreDtTm" ref="Doc:CreDtTm">
              > > <xforms:label>Cre Dt Tm</xforms:label>
              > > <xforms:alert>NOT a valid date time is it?</xforms:alert>
              > > </xforms:input>
              > > </xforms:group>
              > >
              > >
              > >
              > > --- In formsPlayer@yahoogroups.com, "Mark Birbeck" <mark.birbeck@>
              > > wrote:
              > > >
              > > > Hi John,
              > > >
              > > > It's difficult to say from a distance :) but at first glance your
              > > > XPath statements don't seem to be equivalent. In the first
              example you
              > > > have two controls, bound to:
              > > >
              > > > /Doc:Document/Doc:tsmt.001.001.01/Doc:Id
              > > > /Doc:Document/Doc:tsmt.001.001.01/Doc:CreDtTm
              > > >
              > > > In the second example you have the controls bound to:
              > > >
              > > > /Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:Id
              > > > /Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:CreDtTm
              > > >
              > > > This may be intentional--i.e., the nodes may exist at both
              levels--or
              > > > you may have just made a typo when cutting and pasting into the
              email.
              > > > But if your actual form is like this, and the nodes don't exist,
              then
              > > > things won't work as you want.
              > > >
              > > > Perhaps you could double-check and let us know?
              > > >
              > > > Regards,
              > > >
              > > > Mark
              > > >
              > > > On 01/08/06, tradocs_uk <johnstean@> wrote:
              > > > >
              > > > >
              > > > >
              > > > >
              > > > >
              > > > >
              > > > >
              > > > > Hi, just started using xforms - not sure if this is a formsplayer
              > > > > issue, xforms issue, or ignorance on my part.
              > > > >
              > > > > I am validating against an xsd. here is a snippet...
              > > > >
              > > > > (the xsd)
              > > > > ....
              > > > > <xs:complexType name="MessageIdentification1">
              > > > > <xs:sequence>
              > > > > <xs:element name="Id" type="Max35Text"/>
              > > > > <xs:element name="CreDtTm" type="ISODateTime"/>
              > > > >
              > > > > ...
              > > > >
              > > > > </xs:sequence>
              > > > > </xs:complexType>
              > > > > <xs:sequence>
              > > > > <xs:element name="AckId" type="MessageIdentification1"/>
              > > > > ...
              > > > >
              > > > > in the xform:
              > > > >
              > > > > validation works this way:
              > > > >
              > > > > ...
              > > > > <xforms:label>Ack Id</xforms:label>
              > > > > <xforms:input id="inpId"
              > > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:Id">
              > > > > <xforms:label>Id</xforms:label>
              > > > > <xforms:alert>Give me an ID! - MAX 35
              characters</xforms:alert>
              > > > > </xforms:input>
              > > > > <br />
              > > > > <xforms:input id="inpCreDtTm"
              > > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:CreDtTm">
              > > > > <xforms:label>Cre Dt Tm</xforms:label>
              > > > > <xforms:alert>NOT a valid date time is it?</xforms:alert>
              > > > > </xforms:input>
              > > > > ...
              > > > >
              > > > > but not when put in a group:
              > > > >
              > > > > ....
              > > > > <xforms:group id="grpAckId"
              > > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId">
              > > > > <xforms:label>Ack Id</xforms:label>
              > > > > <xforms:input id="inpId" ref="Doc:Id">
              > > > > <xforms:label>Id</xforms:label>
              > > > > <xforms:alert>Give me an ID! - MAX 35
              characters</xforms:alert>
              > > > > </xforms:input>
              > > > > <br />
              > > > > <xforms:input id="inpCreDtTm" ref="Doc:CreDtTm">
              > > > > <xforms:label>Cre Dt Tm</xforms:label>
              > > > > <xforms:alert>NOT a valid date time is it?</xforms:alert>
              > > > > </xforms:input>
              > > > > </xforms:group>
              > > > > ...
              > > > >
              > > > > I have tried all variations on the xpath, including adding
              the full
              > > > > path within the group. Nothing works.
              > > > >
              > > > > Can only get validation working by removing the group tags. I
              have
              > > > > used xformation to generate the form from the xsd.
              > > > >
              > > > > Many thanks to anyone who can suggest anything or offer any help.
              > > > >
              > > > > John.
              > > > >
              > > > >
              > > >
              > > >
              > > >
              > > > --
              > > > Mark Birbeck
              > > > CEO
              > > > x-port.net Ltd.
              > > >
              > > > e: Mark.Birbeck@
              > > > t: +44 (0) 20 7689 9232
              > > > w: http://www.formsPlayer.com/
              > > > b: http://internet-apps.blogspot.com/
              > > >
              > > > Download our XForms processor from
              > > > http://www.formsPlayer.com/
              > > >
              > >
              >
            • tradocs_uk
              Patrick, many thanks for your time in looking. Here are the files, the form has both group and no group elements - just comment out the one you want to see.
              Message 6 of 9 , Aug 2, 2006
              • 0 Attachment
                Patrick, many thanks for your time in looking. Here are the files,
                the form has both group and no group elements - just comment out the
                one you want to see. The non-group AckId works, the group AckId
                fails.

                files :

                CODE-START:

                ####the form

                <?xml version="1.0" encoding="utf-8"?>
                <!--This Document was edited using XFormation (Trial) by Focus
                Software Limited on 19 July 2006 at 11:56.-->
                <html xmlns:xforms="http://www.w3.org/2002/xforms"
                xmlns:ev="http://www.w3.org/2001/xml-events"
                xmlns:Doc="urn:swift:xsd:$tsmt.001.001.01"
                xmlns="http://www.w3.org/1999/xhtml">
                <head>
                <object width="0" height="0" id="FormsPlayer"
                classid="CLSID:4D0ABA11-C5F0-4478-991A-375C4B648F58">
                <b>FormsPlayer has failed to load! Please
                check your installation.</b>
                <br />
                <br />
                </object>
                <?import namespace="xforms"
                implementation="#FormsPlayer"?>
                <xforms:model id="mdlDocument" schema="$tsmt.001.001.01.xsd">
                <xforms:instance id="dataDocument">
                <Document xmlns="urn:swift:xsd:$tsmt.001.001.01"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                <tsmt.001.001.01>
                <AckId>
                <Id>dd</Id>
                <CreDtTm>2002-05-07T17:30:47-01:00</CreDtTm>
                </AckId>
                <TxId>
                <Id>string</Id>
                </TxId>
                <TSUBaselnId>
                <Id>string</Id>
                <Vrsn>999999999999999999</Vrsn>
                </TSUBaselnId>
                <TxSts>
                <Sts>CLRQ</Sts>
                </TxSts>
                <UsrTxRef>
                <Id>string</Id>
                <IdIssr>
                <BIC>string</BIC>
                </IdIssr>
                </UsrTxRef>
                <AckdMsgRef>
                <Id>ddd</Id>
                <CreDtTm>2002-05-07T17:30:47-01:00</CreDtTm>
                </AckdMsgRef>
                <ReqForActn>
                <Tp>ARBA</Tp>
                <Desc>string</Desc>
                </ReqForActn>
                </tsmt.001.001.01>
                </Document>
                </xforms:instance>
                </xforms:model>
                </head>
                <body>

                <!--xsd validation works without a group tag here --><!--
                <xforms:input id="inpIdhj"
                ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:Id">
                <xforms:label>Id</xforms:label>
                <xforms:alert>Give me an ID! - MAX 35
                characters</xforms:alert>
                </xforms:input>
                <br />
                <xforms:input id="inpCreDtTmhj"
                ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:CreDtTm">
                <xforms:label>Cre Dt Tm</xforms:label>
                <xforms:alert>NOT a valid date time is it?</xforms:alert>
                </xforms:input>
                <br />
                -->

                <!--xsd validation fails within a group tag -->

                <xforms:group id="grpAckdMsgRef"
                ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId">
                <xforms:label>Ackd Msg Ref</xforms:label>
                <xforms:input id="inpIdzz" ref="Doc:Id">
                <xforms:label>Id GROUP</xforms:label>
                </xforms:input>
                <br />
                <xforms:input id="inpCreDtTmzz" ref="Doc:CreDtTm">
                <xforms:label>Cre Dt Tm GROUP</xforms:label>
                </xforms:input>
                <br />
                </xforms:group>


                <xforms:input id="inpIdsd"
                ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:TxId/Doc:Id">
                <xforms:label>Tx Id</xforms:label>
                </xforms:input>

                <br />

                <xforms:input id="inpIdy"
                ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:TSUBaselnId/Doc:Id">
                <xforms:label>TSUBaseln Id</xforms:label>
                <xforms:alert>hey this is NOT the required
                type</xforms:alert>
                </xforms:input>
                <br />
                <xforms:input id="inpVrsn"
                ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:TSUBaselnId/Doc:Vrsn">
                <xforms:label>Vrsn</xforms:label>
                </xforms:input>
                <br />
                <!--
                <xforms:input id="inpIdd"
                ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckdMsgRef/Doc:Id">
                <xforms:label>Id</xforms:label>
                <xforms:alert>Give me an ID! - MAX 35
                characters</xforms:alert>
                </xforms:input>
                <br />
                <xforms:input id="inpCreDtTmd"
                ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckdMsgRef/Doc:CreDtTm">
                <xforms:label>Cre Dt Tm</xforms:label>
                <xforms:alert>NOT a valid date time is it?
                </xforms:alert>
                </xforms:input> -->

                <br />

                <xforms:select1 id="selSts"
                ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:TxSts/Doc:Sts">
                <xforms:label>Tx Sts</xforms:label>
                <xforms:item>
                <xforms:label>CLRQ</xforms:label>
                <xforms:value>CLRQ</xforms:value>
                </xforms:item>
                <xforms:item>
                <xforms:label>ACTV</xforms:label>
                <xforms:value>ACTV</xforms:value>
                </xforms:item>
                <xforms:item>
                <xforms:label>AMRQ</xforms:label>
                <xforms:value>AMRQ</xforms:value>
                </xforms:item>
                <xforms:item>
                <xforms:label>CLSD</xforms:label>
                <xforms:value>CLSD</xforms:value>
                </xforms:item>
                <xforms:item>
                <xforms:label>COMP</xforms:label>
                <xforms:value>COMP</xforms:value>
                </xforms:item>
                <xforms:item>
                <xforms:label>PROP</xforms:label>
                <xforms:value>PROP</xforms:value>
                </xforms:item>
                <xforms:item>
                <xforms:label>ESTD</xforms:label>
                <xforms:value>ESTD</xforms:value>
                </xforms:item>
                <xforms:item>
                <xforms:label>RARQ</xforms:label>
                <xforms:value>RARQ</xforms:value>
                </xforms:item>
                <xforms:item>
                <xforms:label>PMTC</xforms:label>
                <xforms:value>PMTC</xforms:value>
                </xforms:item>
                </xforms:select1>
                <br />
                <!--</xforms:group>
                <xforms:group id="grpUsrTxRef"
                ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:UsrTxRef">
                <xforms:label>Usr Tx Ref</xforms:label>-->
                <xforms:input id="inpIdqq"
                ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:UsrTxRef/Doc:Id">
                <xforms:label>Id</xforms:label>
                </xforms:input>
                <br />
                <xforms:group id="grpIdIssr"
                ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:UsrTxRef/Doc:IdIssr">
                <xforms:label>Id Issr</xforms:label>
                <xforms:input id="inpBIC" ref="Doc:BIC">
                <xforms:label>BIC</xforms:label>
                </xforms:input>
                <br />
                <!-- </xforms:group>


                </xforms:group>
                <xforms:group id="grpAckdMsgRef"
                ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckdMsgRef">
                <xforms:label>Ackd Msg Ref</xforms:label>-->



                <br />



                <!--<xforms:group id="grpReqForActn"
                ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:ReqForActn">-->
                <xforms:label>Req For Actn</xforms:label>
                <xforms:select1 id="selTp"
                ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:ReqForActn/Doc:Tp">
                <xforms:label>Tp</xforms:label>
                <xforms:item>
                <xforms:label>ARBA</xforms:label>
                <xforms:value>ARBA</xforms:value>
                </xforms:item>
                <xforms:item>
                <xforms:label>RSTW</xforms:label>
                <xforms:value>RSTW</xforms:value>
                </xforms:item>
                <xforms:item>
                <xforms:label>UPDT</xforms:label>
                <xforms:value>UPDT</xforms:value>
                </xforms:item>
                <xforms:item>
                <xforms:label>ARES</xforms:label>
                <xforms:value>ARES</xforms:value>
                </xforms:item>
                <xforms:item>
                <xforms:label>ARDM</xforms:label>
                <xforms:value>ARDM</xforms:value>
                </xforms:item>
                <xforms:item>
                <xforms:label>SBTW</xforms:label>
                <xforms:value>SBTW</xforms:value>
                </xforms:item>
                <xforms:item>
                <xforms:label>SBDS</xforms:label>
                <xforms:value>SBDS</xforms:value>
                </xforms:item>
                <xforms:item>
                <xforms:label>RSBS</xforms:label>
                <xforms:value>RSBS</xforms:value>
                </xforms:item>
                <xforms:item>
                <xforms:label>ARCS</xforms:label>
                <xforms:value>ARCS</xforms:value>
                </xforms:item>
                <xforms:item>
                <xforms:label>WAIT</xforms:label>
                <xforms:value>WAIT</xforms:value>
                </xforms:item>
                </xforms:select1>
                <br />
                <xforms:input id="inpDesc"
                ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:ReqForActn/Doc:Desc">
                <xforms:label>Desc</xforms:label>
                </xforms:input>
                <br />
                <!--</xforms:group>

                </body>
                </html>

                #####################################
                the xsd
                #####################################

                <?xml version="1.0" encoding="UTF-8"?>
                <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
                xmlns="urn:swift:xsd:$tsmt.001.001.01"
                targetNamespace="urn:swift:xsd:$tsmt.001.001.01"
                elementFormDefault="qualified">
                <xs:element name="Document" type="Document"/>
                <xs:simpleType name="Action1Code">
                <xs:restriction base="xs:string">
                <xs:enumeration value="SBTW"/>
                <xs:enumeration value="RSTW"/>
                <xs:enumeration value="RSBS"/>
                <xs:enumeration value="ARDM"/>
                <xs:enumeration value="ARCS"/>
                <xs:enumeration value="ARES"/>
                <xs:enumeration value="WAIT"/>
                <xs:enumeration value="UPDT"/>
                <xs:enumeration value="SBDS"/>
                <xs:enumeration value="ARBA"/>
                </xs:restriction>
                </xs:simpleType>
                <xs:complexType name="BICIdentification1">
                <xs:sequence>
                <xs:element name="BIC" type="BICIdentifier"/>
                </xs:sequence>
                </xs:complexType>
                <xs:simpleType name="BICIdentifier">
                <xs:restriction base="xs:string">
                <xs:pattern value="[A-Z]{6,6}[A-Z2-9][A-NP-
                Z0-9]([A-Z0-9]{3,3}){0,1}"/>
                </xs:restriction>
                </xs:simpleType>
                <xs:simpleType name="BaselineStatus1Code">
                <xs:restriction base="xs:string">
                <xs:enumeration value="PROP"/>
                <xs:enumeration value="CLSD"/>
                <xs:enumeration value="PMTC"/>
                <xs:enumeration value="ESTD"/>
                <xs:enumeration value="ACTV"/>
                <xs:enumeration value="COMP"/>
                <xs:enumeration value="AMRQ"/>
                <xs:enumeration value="RARQ"/>
                <xs:enumeration value="CLRQ"/>
                </xs:restriction>
                </xs:simpleType>
                <xs:complexType name="Document">
                <xs:sequence>
                <xs:element name="tsmt.001.001.01"
                type="tsmt.001.001.01"/>
                </xs:sequence>
                </xs:complexType>
                <xs:complexType name="DocumentIdentification3">
                <xs:sequence>
                <xs:element name="Id" type="Max35Text"/>
                <xs:element name="Vrsn" type="Number"/>
                </xs:sequence>
                </xs:complexType>
                <xs:complexType name="DocumentIdentification5">
                <xs:sequence>
                <xs:element name="Id" type="Max35Text"/>
                <xs:element name="IdIssr"
                type="BICIdentification1"/>
                </xs:sequence>
                </xs:complexType>
                <xs:simpleType name="ISODateTime">
                <xs:restriction base="xs:dateTime"/>
                </xs:simpleType>
                <xs:simpleType name="Max140Text">
                <xs:restriction base="xs:string">
                <xs:minLength value="1"/>
                <xs:maxLength value="140"/>
                </xs:restriction>
                </xs:simpleType>
                <xs:simpleType name="Max35Text">
                <xs:restriction base="xs:string">
                <xs:minLength value="1"/>
                <xs:maxLength value="35"/>
                </xs:restriction>
                </xs:simpleType>
                <xs:complexType name="MessageIdentification1">
                <xs:sequence>
                <xs:element name="Id" type="Max35Text"/>
                <xs:element name="CreDtTm"
                type="ISODateTime"/>
                </xs:sequence>
                </xs:complexType>
                <xs:simpleType name="Number">
                <xs:restriction base="xs:decimal">
                <xs:fractionDigits value="0"/>
                <xs:totalDigits value="18"/>
                </xs:restriction>
                </xs:simpleType>
                <xs:complexType name="PendingActivity1">
                <xs:sequence>
                <xs:element name="Tp" type="Action1Code"/>
                <xs:element name="Desc" type="Max140Text"
                minOccurs="0"/>
                </xs:sequence>
                </xs:complexType>
                <xs:complexType name="SimpleIdentificationInformation">
                <xs:sequence>
                <xs:element name="Id" type="Max35Text"/>
                </xs:sequence>
                </xs:complexType>
                <xs:complexType name="TransactionStatus1">
                <xs:sequence>
                <xs:element name="Sts"
                type="BaselineStatus1Code"/>
                </xs:sequence>
                </xs:complexType>
                <xs:complexType name="tsmt.001.001.01">
                <xs:sequence>
                <xs:element name="AckId"
                type="MessageIdentification1"/>
                <xs:element name="TxId"
                type="SimpleIdentificationInformation"/>
                <xs:element name="TSUBaselnId"
                type="DocumentIdentification3" minOccurs="0"/>
                <xs:element name="TxSts"
                type="TransactionStatus1"/>
                <xs:element name="UsrTxRef"
                type="DocumentIdentification5"/>
                <xs:element name="AckdMsgRef"
                type="MessageIdentification1"/>
                <xs:element name="ReqForActn"
                type="PendingActivity1" minOccurs="0"/>
                </xs:sequence>
                </xs:complexType>
                </xs:schema>

                ######################

                CODE-END


                --- In formsPlayer@yahoogroups.com, "patrickseiffert" <seiffert@...>
                wrote:
                >
                > John.
                >
                > Note that I used a simple type-binding instead of linking with an
                schema!
                >
                > Bye
                >
                > --- In formsPlayer@yahoogroups.com, "patrickseiffert" <seiffert@>
                > wrote:
                > >
                > > Hi John.
                > >
                > > Couldn't find the error in your form.
                > > BUT I can tell you that validation inside a group does work
                using the
                > > following example:
                > >
                > > CODE-START:
                > > <?xml version="1.0" encoding="UTF-8"?>
                > > <html xmlns="http://www.w3.org/1999/xhtml"
                > > xmlns:xf="http://www.w3.org/2002/xforms"
                > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                > > xmlns:ev="http://www.w3.org/2001/xml-events">
                > > <object classid="CLSID:4D0ABA11-C5F0-4478-991A-375C4B648F58"
                > > id="formsPlayer" height="0" width="0">
                > > <b>formsPlayer has failed to load! Please check your
                installation.</b>
                > > </object>
                > > <?import namespace="xf" implementation="#formsPlayer" ?>
                > > <head>
                > > <title>Event</title>
                > > <xf:model>
                > > <xf:instance>
                > > <data xmlns="">
                > > <id />
                > > <ob />
                > > </data>
                > > </xf:instance>
                > > <xf:bind nodeset="/data/id"
                type="xsd:positiveInteger"
                > > required="false" />
                > > <xf:submission id="s"
                > > action="file://D:\Code\XML\XMLEvents\events.xml" method="put" />
                > > </xf:model>
                > > </head>
                > > <body>
                > > <xf:group>
                > > <div>
                > > <xf:input ref="id" id="theInput">
                > > <xf:label>id akzeptiert
                NUR "positiveInteger": </xf:label>
                > > <xf:action ev:event="xforms-
                invalid">
                > > <xf:message
                level="modal">invalide-event vom input
                > "id"</xf:message>
                > > </xf:action>
                > > </xf:input>
                > > </div>
                > > <div>
                > > <xf:input ref="ob">
                > > <xf:label>ob akzeptiert
                ALLES: </xf:label>
                > > </xf:input>
                > > </div>
                > > <div>
                > > <xf:input ref="ob">
                > > <xf:label>ob akzeptiert
                ALLES DomFokusIn: </xf:label>
                > > <xf:message level="modal"
                ev:event="DOMFocusIn">Fokus in
                > > "ob"</xf:message>
                > > </xf:input>
                > > </div>
                > > </xf:group>
                > > <div>
                > > <xf:submit submission="s" id="idSubmit">
                > > <xf:label>submit</xf:label>
                > > </xf:submit>
                > > </div>
                > > </body>
                > > </html>
                > >
                > > CODE-END
                > >
                > > You can copy/paste all the code and try it on your formsplayers
                > > installation.
                > >
                > > Hope my simple example can help you. Otherwise perhaps you should
                > > publish your whole code.
                > >
                > > Regards,
                > > Patrick
                > > --- In formsPlayer@yahoogroups.com, "tradocs_uk" <johnstean@>
                wrote:
                > > >
                > > > Hi Mark, appreciate you taking a look. Yes, this was a cut n
                paste
                > > > error in the post (cant edit the post?) . Here is the corrected
                > > > NON-group snippet that works for validation:
                > > >
                > > > ...
                > > > <xforms:input id="inpId"
                > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:Id">
                > > > <xforms:label>Id</xforms:label>
                > > > <xforms:alert>Give me an ID! - MAX 35 characters</xforms:alert>
                > > > </xforms:input>
                > > > <br />
                > > > <xforms:input id="inpCreDtTm"
                > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:CreDtTm">
                > > > <xforms:label>Cre Dt Tm</xforms:label>
                > > > <xforms:alert>NOT a valid date time is it?
                </xforms:alert>
                > > > </xforms:input>
                > > > ....
                > > > and using the GROUP element it does not validate:
                > > >
                > > > <xforms:group
                ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId">
                > >
                > > > <xforms:input id="inpId" ref="Doc:Id">
                > > > <xforms:label>Id</xforms:label>
                > > > <xforms:alert>Give me an ID! - MAX 35
                characters</xforms:alert>
                > > > </xforms:input>
                > > > <br />
                > > > <xforms:input id="inpCreDtTm" ref="Doc:CreDtTm">
                > > > <xforms:label>Cre Dt Tm</xforms:label>
                > > > <xforms:alert>NOT a valid date time is it?
                </xforms:alert>
                > > > </xforms:input>
                > > > </xforms:group>
                > > >
                > > >
                > > >
                > > > --- In formsPlayer@yahoogroups.com, "Mark Birbeck"
                <mark.birbeck@>
                > > > wrote:
                > > > >
                > > > > Hi John,
                > > > >
                > > > > It's difficult to say from a distance :) but at first glance
                your
                > > > > XPath statements don't seem to be equivalent. In the first
                > example you
                > > > > have two controls, bound to:
                > > > >
                > > > > /Doc:Document/Doc:tsmt.001.001.01/Doc:Id
                > > > > /Doc:Document/Doc:tsmt.001.001.01/Doc:CreDtTm
                > > > >
                > > > > In the second example you have the controls bound to:
                > > > >
                > > > > /Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:Id
                > > > > /Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:CreDtTm
                > > > >
                > > > > This may be intentional--i.e., the nodes may exist at both
                > levels--or
                > > > > you may have just made a typo when cutting and pasting into
                the
                > email.
                > > > > But if your actual form is like this, and the nodes don't
                exist,
                > then
                > > > > things won't work as you want.
                > > > >
                > > > > Perhaps you could double-check and let us know?
                > > > >
                > > > > Regards,
                > > > >
                > > > > Mark
                > > > >
                > > > > On 01/08/06, tradocs_uk <johnstean@> wrote:
                > > > > >
                > > > > >
                > > > > >
                > > > > >
                > > > > >
                > > > > >
                > > > > >
                > > > > > Hi, just started using xforms - not sure if this is a
                formsplayer
                > > > > > issue, xforms issue, or ignorance on my part.
                > > > > >
                > > > > > I am validating against an xsd. here is a snippet...
                > > > > >
                > > > > > (the xsd)
                > > > > > ....
                > > > > > <xs:complexType name="MessageIdentification1">
                > > > > > <xs:sequence>
                > > > > > <xs:element name="Id"
                type="Max35Text"/>
                > > > > > <xs:element name="CreDtTm"
                type="ISODateTime"/>
                > > > > >
                > > > > > ...
                > > > > >
                > > > > > </xs:sequence>
                > > > > > </xs:complexType>
                > > > > > <xs:sequence>
                > > > > > <xs:element name="AckId"
                type="MessageIdentification1"/>
                > > > > > ...
                > > > > >
                > > > > > in the xform:
                > > > > >
                > > > > > validation works this way:
                > > > > >
                > > > > > ...
                > > > > > <xforms:label>Ack Id</xforms:label>
                > > > > > <xforms:input id="inpId"
                > > > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:Id">
                > > > > > <xforms:label>Id</xforms:label>
                > > > > > <xforms:alert>Give me an ID! - MAX 35
                > characters</xforms:alert>
                > > > > > </xforms:input>
                > > > > > <br />
                > > > > > <xforms:input id="inpCreDtTm"
                > > > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:CreDtTm">
                > > > > > <xforms:label>Cre Dt Tm</xforms:label>
                > > > > > <xforms:alert>NOT a valid date time
                is it?</xforms:alert>
                > > > > > </xforms:input>
                > > > > > ...
                > > > > >
                > > > > > but not when put in a group:
                > > > > >
                > > > > > ....
                > > > > > <xforms:group id="grpAckId"
                > > > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId">
                > > > > > <xforms:label>Ack Id</xforms:label>
                > > > > > <xforms:input id="inpId" ref="Doc:Id">
                > > > > > <xforms:label>Id</xforms:label>
                > > > > > <xforms:alert>Give me an ID! - MAX 35
                > characters</xforms:alert>
                > > > > > </xforms:input>
                > > > > > <br />
                > > > > > <xforms:input id="inpCreDtTm" ref="Doc:CreDtTm">
                > > > > > <xforms:label>Cre Dt Tm</xforms:label>
                > > > > > <xforms:alert>NOT a valid date time
                is it?</xforms:alert>
                > > > > > </xforms:input>
                > > > > > </xforms:group>
                > > > > > ...
                > > > > >
                > > > > > I have tried all variations on the xpath, including adding
                > the full
                > > > > > path within the group. Nothing works.
                > > > > >
                > > > > > Can only get validation working by removing the group
                tags. I
                > have
                > > > > > used xformation to generate the form from the xsd.
                > > > > >
                > > > > > Many thanks to anyone who can suggest anything or offer
                any help.
                > > > > >
                > > > > > John.
                > > > > >
                > > > > >
                > > > >
                > > > >
                > > > >
                > > > > --
                > > > > Mark Birbeck
                > > > > CEO
                > > > > x-port.net Ltd.
                > > > >
                > > > > e: Mark.Birbeck@
                > > > > t: +44 (0) 20 7689 9232
                > > > > w: http://www.formsPlayer.com/
                > > > > b: http://internet-apps.blogspot.com/
                > > > >
                > > > > Download our XForms processor from
                > > > > http://www.formsPlayer.com/
                > > > >
                > > >
                > >
                >
              • patrickseiffert
                Hello John. I tried on my own with a little dummy file using group and non-group. It seems to me I get the same problem but have no idea what may be the
                Message 7 of 9 , Aug 3, 2006
                • 0 Attachment
                  Hello John.

                  I tried on my own with a little dummy file using group and non-group.

                  It seems to me I get the same problem but have no idea what may be the
                  reason.

                  So far, just to give some feedback.

                  I will try on another runtime (XSmiles or Orbeon) to see if it is a
                  formsPlayer-issue. Also I looked up the w3c-standards-page but could
                  not find a hint that explains this behaviour.

                  Keep me up to date if you found something out.

                  Regards,
                  Patrick

                  --- In formsPlayer@yahoogroups.com, "tradocs_uk" <johnstean@...> wrote:
                  >
                  > Patrick, many thanks for your time in looking. Here are the files,
                  > the form has both group and no group elements - just comment out the
                  > one you want to see. The non-group AckId works, the group AckId
                  > fails.
                  >
                  > files :
                  >
                  > CODE-START:
                  >
                  > ####the form
                  >
                  > <?xml version="1.0" encoding="utf-8"?>
                  > <!--This Document was edited using XFormation (Trial) by Focus
                  > Software Limited on 19 July 2006 at 11:56.-->
                  > <html xmlns:xforms="http://www.w3.org/2002/xforms"
                  > xmlns:ev="http://www.w3.org/2001/xml-events"
                  > xmlns:Doc="urn:swift:xsd:$tsmt.001.001.01"
                  > xmlns="http://www.w3.org/1999/xhtml">
                  > <head>
                  > <object width="0" height="0" id="FormsPlayer"
                  > classid="CLSID:4D0ABA11-C5F0-4478-991A-375C4B648F58">
                  > <b>FormsPlayer has failed to load! Please
                  > check your installation.</b>
                  > <br />
                  > <br />
                  > </object>
                  > <?import namespace="xforms"
                  > implementation="#FormsPlayer"?>
                  > <xforms:model id="mdlDocument" schema="$tsmt.001.001.01.xsd">
                  > <xforms:instance id="dataDocument">
                  > <Document xmlns="urn:swift:xsd:$tsmt.001.001.01"
                  > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  > xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                  > <tsmt.001.001.01>
                  > <AckId>
                  > <Id>dd</Id>
                  > <CreDtTm>2002-05-07T17:30:47-01:00</CreDtTm>
                  > </AckId>
                  > <TxId>
                  > <Id>string</Id>
                  > </TxId>
                  > <TSUBaselnId>
                  > <Id>string</Id>
                  > <Vrsn>999999999999999999</Vrsn>
                  > </TSUBaselnId>
                  > <TxSts>
                  > <Sts>CLRQ</Sts>
                  > </TxSts>
                  > <UsrTxRef>
                  > <Id>string</Id>
                  > <IdIssr>
                  > <BIC>string</BIC>
                  > </IdIssr>
                  > </UsrTxRef>
                  > <AckdMsgRef>
                  > <Id>ddd</Id>
                  > <CreDtTm>2002-05-07T17:30:47-01:00</CreDtTm>
                  > </AckdMsgRef>
                  > <ReqForActn>
                  > <Tp>ARBA</Tp>
                  > <Desc>string</Desc>
                  > </ReqForActn>
                  > </tsmt.001.001.01>
                  > </Document>
                  > </xforms:instance>
                  > </xforms:model>
                  > </head>
                  > <body>
                  >
                  > <!--xsd validation works without a group tag here --><!--
                  > <xforms:input id="inpIdhj"
                  > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:Id">
                  > <xforms:label>Id</xforms:label>
                  > <xforms:alert>Give me an ID! - MAX 35
                  > characters</xforms:alert>
                  > </xforms:input>
                  > <br />
                  > <xforms:input id="inpCreDtTmhj"
                  > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:CreDtTm">
                  > <xforms:label>Cre Dt Tm</xforms:label>
                  > <xforms:alert>NOT a valid date time is it?</xforms:alert>
                  > </xforms:input>
                  > <br />
                  > -->
                  >
                  > <!--xsd validation fails within a group tag -->
                  >
                  > <xforms:group id="grpAckdMsgRef"
                  > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId">
                  > <xforms:label>Ackd Msg Ref</xforms:label>
                  > <xforms:input id="inpIdzz" ref="Doc:Id">
                  > <xforms:label>Id GROUP</xforms:label>
                  > </xforms:input>
                  > <br />
                  > <xforms:input id="inpCreDtTmzz" ref="Doc:CreDtTm">
                  > <xforms:label>Cre Dt Tm GROUP</xforms:label>
                  > </xforms:input>
                  > <br />
                  > </xforms:group>
                  >
                  >
                  > <xforms:input id="inpIdsd"
                  > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:TxId/Doc:Id">
                  > <xforms:label>Tx Id</xforms:label>
                  > </xforms:input>
                  >
                  > <br />
                  >
                  > <xforms:input id="inpIdy"
                  > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:TSUBaselnId/Doc:Id">
                  > <xforms:label>TSUBaseln Id</xforms:label>
                  > <xforms:alert>hey this is NOT the required
                  > type</xforms:alert>
                  > </xforms:input>
                  > <br />
                  > <xforms:input id="inpVrsn"
                  > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:TSUBaselnId/Doc:Vrsn">
                  > <xforms:label>Vrsn</xforms:label>
                  > </xforms:input>
                  > <br />
                  > <!--
                  > <xforms:input id="inpIdd"
                  > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckdMsgRef/Doc:Id">
                  > <xforms:label>Id</xforms:label>
                  > <xforms:alert>Give me an ID! - MAX 35
                  > characters</xforms:alert>
                  > </xforms:input>
                  > <br />
                  > <xforms:input id="inpCreDtTmd"
                  > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckdMsgRef/Doc:CreDtTm">
                  > <xforms:label>Cre Dt Tm</xforms:label>
                  > <xforms:alert>NOT a valid date time is it?
                  > </xforms:alert>
                  > </xforms:input> -->
                  >
                  > <br />
                  >
                  > <xforms:select1 id="selSts"
                  > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:TxSts/Doc:Sts">
                  > <xforms:label>Tx Sts</xforms:label>
                  > <xforms:item>
                  > <xforms:label>CLRQ</xforms:label>
                  > <xforms:value>CLRQ</xforms:value>
                  > </xforms:item>
                  > <xforms:item>
                  > <xforms:label>ACTV</xforms:label>
                  > <xforms:value>ACTV</xforms:value>
                  > </xforms:item>
                  > <xforms:item>
                  > <xforms:label>AMRQ</xforms:label>
                  > <xforms:value>AMRQ</xforms:value>
                  > </xforms:item>
                  > <xforms:item>
                  > <xforms:label>CLSD</xforms:label>
                  > <xforms:value>CLSD</xforms:value>
                  > </xforms:item>
                  > <xforms:item>
                  > <xforms:label>COMP</xforms:label>
                  > <xforms:value>COMP</xforms:value>
                  > </xforms:item>
                  > <xforms:item>
                  > <xforms:label>PROP</xforms:label>
                  > <xforms:value>PROP</xforms:value>
                  > </xforms:item>
                  > <xforms:item>
                  > <xforms:label>ESTD</xforms:label>
                  > <xforms:value>ESTD</xforms:value>
                  > </xforms:item>
                  > <xforms:item>
                  > <xforms:label>RARQ</xforms:label>
                  > <xforms:value>RARQ</xforms:value>
                  > </xforms:item>
                  > <xforms:item>
                  > <xforms:label>PMTC</xforms:label>
                  > <xforms:value>PMTC</xforms:value>
                  > </xforms:item>
                  > </xforms:select1>
                  > <br />
                  > <!--</xforms:group>
                  > <xforms:group id="grpUsrTxRef"
                  > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:UsrTxRef">
                  > <xforms:label>Usr Tx Ref</xforms:label>-->
                  > <xforms:input id="inpIdqq"
                  > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:UsrTxRef/Doc:Id">
                  > <xforms:label>Id</xforms:label>
                  > </xforms:input>
                  > <br />
                  > <xforms:group id="grpIdIssr"
                  > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:UsrTxRef/Doc:IdIssr">
                  > <xforms:label>Id Issr</xforms:label>
                  > <xforms:input id="inpBIC" ref="Doc:BIC">
                  > <xforms:label>BIC</xforms:label>
                  > </xforms:input>
                  > <br />
                  > <!-- </xforms:group>
                  >
                  >
                  > </xforms:group>
                  > <xforms:group id="grpAckdMsgRef"
                  > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckdMsgRef">
                  > <xforms:label>Ackd Msg Ref</xforms:label>-->
                  >
                  >
                  >
                  > <br />
                  >
                  >
                  >
                  > <!--<xforms:group id="grpReqForActn"
                  > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:ReqForActn">-->
                  > <xforms:label>Req For Actn</xforms:label>
                  > <xforms:select1 id="selTp"
                  > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:ReqForActn/Doc:Tp">
                  > <xforms:label>Tp</xforms:label>
                  > <xforms:item>
                  > <xforms:label>ARBA</xforms:label>
                  > <xforms:value>ARBA</xforms:value>
                  > </xforms:item>
                  > <xforms:item>
                  > <xforms:label>RSTW</xforms:label>
                  > <xforms:value>RSTW</xforms:value>
                  > </xforms:item>
                  > <xforms:item>
                  > <xforms:label>UPDT</xforms:label>
                  > <xforms:value>UPDT</xforms:value>
                  > </xforms:item>
                  > <xforms:item>
                  > <xforms:label>ARES</xforms:label>
                  > <xforms:value>ARES</xforms:value>
                  > </xforms:item>
                  > <xforms:item>
                  > <xforms:label>ARDM</xforms:label>
                  > <xforms:value>ARDM</xforms:value>
                  > </xforms:item>
                  > <xforms:item>
                  > <xforms:label>SBTW</xforms:label>
                  > <xforms:value>SBTW</xforms:value>
                  > </xforms:item>
                  > <xforms:item>
                  > <xforms:label>SBDS</xforms:label>
                  > <xforms:value>SBDS</xforms:value>
                  > </xforms:item>
                  > <xforms:item>
                  > <xforms:label>RSBS</xforms:label>
                  > <xforms:value>RSBS</xforms:value>
                  > </xforms:item>
                  > <xforms:item>
                  > <xforms:label>ARCS</xforms:label>
                  > <xforms:value>ARCS</xforms:value>
                  > </xforms:item>
                  > <xforms:item>
                  > <xforms:label>WAIT</xforms:label>
                  > <xforms:value>WAIT</xforms:value>
                  > </xforms:item>
                  > </xforms:select1>
                  > <br />
                  > <xforms:input id="inpDesc"
                  > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:ReqForActn/Doc:Desc">
                  > <xforms:label>Desc</xforms:label>
                  > </xforms:input>
                  > <br />
                  > <!--</xforms:group>
                  >
                  > </body>
                  > </html>
                  >
                  > #####################################
                  > the xsd
                  > #####################################
                  >
                  > <?xml version="1.0" encoding="UTF-8"?>
                  > <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
                  > xmlns="urn:swift:xsd:$tsmt.001.001.01"
                  > targetNamespace="urn:swift:xsd:$tsmt.001.001.01"
                  > elementFormDefault="qualified">
                  > <xs:element name="Document" type="Document"/>
                  > <xs:simpleType name="Action1Code">
                  > <xs:restriction base="xs:string">
                  > <xs:enumeration value="SBTW"/>
                  > <xs:enumeration value="RSTW"/>
                  > <xs:enumeration value="RSBS"/>
                  > <xs:enumeration value="ARDM"/>
                  > <xs:enumeration value="ARCS"/>
                  > <xs:enumeration value="ARES"/>
                  > <xs:enumeration value="WAIT"/>
                  > <xs:enumeration value="UPDT"/>
                  > <xs:enumeration value="SBDS"/>
                  > <xs:enumeration value="ARBA"/>
                  > </xs:restriction>
                  > </xs:simpleType>
                  > <xs:complexType name="BICIdentification1">
                  > <xs:sequence>
                  > <xs:element name="BIC" type="BICIdentifier"/>
                  > </xs:sequence>
                  > </xs:complexType>
                  > <xs:simpleType name="BICIdentifier">
                  > <xs:restriction base="xs:string">
                  > <xs:pattern value="[A-Z]{6,6}[A-Z2-9][A-NP-
                  > Z0-9]([A-Z0-9]{3,3}){0,1}"/>
                  > </xs:restriction>
                  > </xs:simpleType>
                  > <xs:simpleType name="BaselineStatus1Code">
                  > <xs:restriction base="xs:string">
                  > <xs:enumeration value="PROP"/>
                  > <xs:enumeration value="CLSD"/>
                  > <xs:enumeration value="PMTC"/>
                  > <xs:enumeration value="ESTD"/>
                  > <xs:enumeration value="ACTV"/>
                  > <xs:enumeration value="COMP"/>
                  > <xs:enumeration value="AMRQ"/>
                  > <xs:enumeration value="RARQ"/>
                  > <xs:enumeration value="CLRQ"/>
                  > </xs:restriction>
                  > </xs:simpleType>
                  > <xs:complexType name="Document">
                  > <xs:sequence>
                  > <xs:element name="tsmt.001.001.01"
                  > type="tsmt.001.001.01"/>
                  > </xs:sequence>
                  > </xs:complexType>
                  > <xs:complexType name="DocumentIdentification3">
                  > <xs:sequence>
                  > <xs:element name="Id" type="Max35Text"/>
                  > <xs:element name="Vrsn" type="Number"/>
                  > </xs:sequence>
                  > </xs:complexType>
                  > <xs:complexType name="DocumentIdentification5">
                  > <xs:sequence>
                  > <xs:element name="Id" type="Max35Text"/>
                  > <xs:element name="IdIssr"
                  > type="BICIdentification1"/>
                  > </xs:sequence>
                  > </xs:complexType>
                  > <xs:simpleType name="ISODateTime">
                  > <xs:restriction base="xs:dateTime"/>
                  > </xs:simpleType>
                  > <xs:simpleType name="Max140Text">
                  > <xs:restriction base="xs:string">
                  > <xs:minLength value="1"/>
                  > <xs:maxLength value="140"/>
                  > </xs:restriction>
                  > </xs:simpleType>
                  > <xs:simpleType name="Max35Text">
                  > <xs:restriction base="xs:string">
                  > <xs:minLength value="1"/>
                  > <xs:maxLength value="35"/>
                  > </xs:restriction>
                  > </xs:simpleType>
                  > <xs:complexType name="MessageIdentification1">
                  > <xs:sequence>
                  > <xs:element name="Id" type="Max35Text"/>
                  > <xs:element name="CreDtTm"
                  > type="ISODateTime"/>
                  > </xs:sequence>
                  > </xs:complexType>
                  > <xs:simpleType name="Number">
                  > <xs:restriction base="xs:decimal">
                  > <xs:fractionDigits value="0"/>
                  > <xs:totalDigits value="18"/>
                  > </xs:restriction>
                  > </xs:simpleType>
                  > <xs:complexType name="PendingActivity1">
                  > <xs:sequence>
                  > <xs:element name="Tp" type="Action1Code"/>
                  > <xs:element name="Desc" type="Max140Text"
                  > minOccurs="0"/>
                  > </xs:sequence>
                  > </xs:complexType>
                  > <xs:complexType name="SimpleIdentificationInformation">
                  > <xs:sequence>
                  > <xs:element name="Id" type="Max35Text"/>
                  > </xs:sequence>
                  > </xs:complexType>
                  > <xs:complexType name="TransactionStatus1">
                  > <xs:sequence>
                  > <xs:element name="Sts"
                  > type="BaselineStatus1Code"/>
                  > </xs:sequence>
                  > </xs:complexType>
                  > <xs:complexType name="tsmt.001.001.01">
                  > <xs:sequence>
                  > <xs:element name="AckId"
                  > type="MessageIdentification1"/>
                  > <xs:element name="TxId"
                  > type="SimpleIdentificationInformation"/>
                  > <xs:element name="TSUBaselnId"
                  > type="DocumentIdentification3" minOccurs="0"/>
                  > <xs:element name="TxSts"
                  > type="TransactionStatus1"/>
                  > <xs:element name="UsrTxRef"
                  > type="DocumentIdentification5"/>
                  > <xs:element name="AckdMsgRef"
                  > type="MessageIdentification1"/>
                  > <xs:element name="ReqForActn"
                  > type="PendingActivity1" minOccurs="0"/>
                  > </xs:sequence>
                  > </xs:complexType>
                  > </xs:schema>
                  >
                  > ######################
                  >
                  > CODE-END
                  >
                  >
                  > --- In formsPlayer@yahoogroups.com, "patrickseiffert" <seiffert@>
                  > wrote:
                  > >
                  > > John.
                  > >
                  > > Note that I used a simple type-binding instead of linking with an
                  > schema!
                  > >
                  > > Bye
                  > >
                  > > --- In formsPlayer@yahoogroups.com, "patrickseiffert" <seiffert@>
                  > > wrote:
                  > > >
                  > > > Hi John.
                  > > >
                  > > > Couldn't find the error in your form.
                  > > > BUT I can tell you that validation inside a group does work
                  > using the
                  > > > following example:
                  > > >
                  > > > CODE-START:
                  > > > <?xml version="1.0" encoding="UTF-8"?>
                  > > > <html xmlns="http://www.w3.org/1999/xhtml"
                  > > > xmlns:xf="http://www.w3.org/2002/xforms"
                  > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                  > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  > > > xmlns:ev="http://www.w3.org/2001/xml-events">
                  > > > <object classid="CLSID:4D0ABA11-C5F0-4478-991A-375C4B648F58"
                  > > > id="formsPlayer" height="0" width="0">
                  > > > <b>formsPlayer has failed to load! Please check your
                  > installation.</b>
                  > > > </object>
                  > > > <?import namespace="xf" implementation="#formsPlayer" ?>
                  > > > <head>
                  > > > <title>Event</title>
                  > > > <xf:model>
                  > > > <xf:instance>
                  > > > <data xmlns="">
                  > > > <id />
                  > > > <ob />
                  > > > </data>
                  > > > </xf:instance>
                  > > > <xf:bind nodeset="/data/id"
                  > type="xsd:positiveInteger"
                  > > > required="false" />
                  > > > <xf:submission id="s"
                  > > > action="file://D:\Code\XML\XMLEvents\events.xml" method="put" />
                  > > > </xf:model>
                  > > > </head>
                  > > > <body>
                  > > > <xf:group>
                  > > > <div>
                  > > > <xf:input ref="id" id="theInput">
                  > > > <xf:label>id akzeptiert
                  > NUR "positiveInteger": </xf:label>
                  > > > <xf:action ev:event="xforms-
                  > invalid">
                  > > > <xf:message
                  > level="modal">invalide-event vom input
                  > > "id"</xf:message>
                  > > > </xf:action>
                  > > > </xf:input>
                  > > > </div>
                  > > > <div>
                  > > > <xf:input ref="ob">
                  > > > <xf:label>ob akzeptiert
                  > ALLES: </xf:label>
                  > > > </xf:input>
                  > > > </div>
                  > > > <div>
                  > > > <xf:input ref="ob">
                  > > > <xf:label>ob akzeptiert
                  > ALLES DomFokusIn: </xf:label>
                  > > > <xf:message level="modal"
                  > ev:event="DOMFocusIn">Fokus in
                  > > > "ob"</xf:message>
                  > > > </xf:input>
                  > > > </div>
                  > > > </xf:group>
                  > > > <div>
                  > > > <xf:submit submission="s" id="idSubmit">
                  > > > <xf:label>submit</xf:label>
                  > > > </xf:submit>
                  > > > </div>
                  > > > </body>
                  > > > </html>
                  > > >
                  > > > CODE-END
                  > > >
                  > > > You can copy/paste all the code and try it on your formsplayers
                  > > > installation.
                  > > >
                  > > > Hope my simple example can help you. Otherwise perhaps you should
                  > > > publish your whole code.
                  > > >
                  > > > Regards,
                  > > > Patrick
                  > > > --- In formsPlayer@yahoogroups.com, "tradocs_uk" <johnstean@>
                  > wrote:
                  > > > >
                  > > > > Hi Mark, appreciate you taking a look. Yes, this was a cut n
                  > paste
                  > > > > error in the post (cant edit the post?) . Here is the corrected
                  > > > > NON-group snippet that works for validation:
                  > > > >
                  > > > > ...
                  > > > > <xforms:input id="inpId"
                  > > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:Id">
                  > > > > <xforms:label>Id</xforms:label>
                  > > > > <xforms:alert>Give me an ID! - MAX 35 characters</xforms:alert>
                  > > > > </xforms:input>
                  > > > > <br />
                  > > > > <xforms:input id="inpCreDtTm"
                  > > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:CreDtTm">
                  > > > > <xforms:label>Cre Dt Tm</xforms:label>
                  > > > > <xforms:alert>NOT a valid date time is it?
                  > </xforms:alert>
                  > > > > </xforms:input>
                  > > > > ....
                  > > > > and using the GROUP element it does not validate:
                  > > > >
                  > > > > <xforms:group
                  > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId">
                  > > >
                  > > > > <xforms:input id="inpId" ref="Doc:Id">
                  > > > > <xforms:label>Id</xforms:label>
                  > > > > <xforms:alert>Give me an ID! - MAX 35
                  > characters</xforms:alert>
                  > > > > </xforms:input>
                  > > > > <br />
                  > > > > <xforms:input id="inpCreDtTm" ref="Doc:CreDtTm">
                  > > > > <xforms:label>Cre Dt Tm</xforms:label>
                  > > > > <xforms:alert>NOT a valid date time is it?
                  > </xforms:alert>
                  > > > > </xforms:input>
                  > > > > </xforms:group>
                  > > > >
                  > > > >
                  > > > >
                  > > > > --- In formsPlayer@yahoogroups.com, "Mark Birbeck"
                  > <mark.birbeck@>
                  > > > > wrote:
                  > > > > >
                  > > > > > Hi John,
                  > > > > >
                  > > > > > It's difficult to say from a distance :) but at first glance
                  > your
                  > > > > > XPath statements don't seem to be equivalent. In the first
                  > > example you
                  > > > > > have two controls, bound to:
                  > > > > >
                  > > > > > /Doc:Document/Doc:tsmt.001.001.01/Doc:Id
                  > > > > > /Doc:Document/Doc:tsmt.001.001.01/Doc:CreDtTm
                  > > > > >
                  > > > > > In the second example you have the controls bound to:
                  > > > > >
                  > > > > > /Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:Id
                  > > > > > /Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:CreDtTm
                  > > > > >
                  > > > > > This may be intentional--i.e., the nodes may exist at both
                  > > levels--or
                  > > > > > you may have just made a typo when cutting and pasting into
                  > the
                  > > email.
                  > > > > > But if your actual form is like this, and the nodes don't
                  > exist,
                  > > then
                  > > > > > things won't work as you want.
                  > > > > >
                  > > > > > Perhaps you could double-check and let us know?
                  > > > > >
                  > > > > > Regards,
                  > > > > >
                  > > > > > Mark
                  > > > > >
                  > > > > > On 01/08/06, tradocs_uk <johnstean@> wrote:
                  > > > > > >
                  > > > > > >
                  > > > > > >
                  > > > > > >
                  > > > > > >
                  > > > > > >
                  > > > > > >
                  > > > > > > Hi, just started using xforms - not sure if this is a
                  > formsplayer
                  > > > > > > issue, xforms issue, or ignorance on my part.
                  > > > > > >
                  > > > > > > I am validating against an xsd. here is a snippet...
                  > > > > > >
                  > > > > > > (the xsd)
                  > > > > > > ....
                  > > > > > > <xs:complexType name="MessageIdentification1">
                  > > > > > > <xs:sequence>
                  > > > > > > <xs:element name="Id"
                  > type="Max35Text"/>
                  > > > > > > <xs:element name="CreDtTm"
                  > type="ISODateTime"/>
                  > > > > > >
                  > > > > > > ...
                  > > > > > >
                  > > > > > > </xs:sequence>
                  > > > > > > </xs:complexType>
                  > > > > > > <xs:sequence>
                  > > > > > > <xs:element name="AckId"
                  > type="MessageIdentification1"/>
                  > > > > > > ...
                  > > > > > >
                  > > > > > > in the xform:
                  > > > > > >
                  > > > > > > validation works this way:
                  > > > > > >
                  > > > > > > ...
                  > > > > > > <xforms:label>Ack Id</xforms:label>
                  > > > > > > <xforms:input id="inpId"
                  > > > > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:Id">
                  > > > > > > <xforms:label>Id</xforms:label>
                  > > > > > > <xforms:alert>Give me an ID! - MAX 35
                  > > characters</xforms:alert>
                  > > > > > > </xforms:input>
                  > > > > > > <br />
                  > > > > > > <xforms:input id="inpCreDtTm"
                  > > > > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:CreDtTm">
                  > > > > > > <xforms:label>Cre Dt Tm</xforms:label>
                  > > > > > > <xforms:alert>NOT a valid date time
                  > is it?</xforms:alert>
                  > > > > > > </xforms:input>
                  > > > > > > ...
                  > > > > > >
                  > > > > > > but not when put in a group:
                  > > > > > >
                  > > > > > > ....
                  > > > > > > <xforms:group id="grpAckId"
                  > > > > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId">
                  > > > > > > <xforms:label>Ack Id</xforms:label>
                  > > > > > > <xforms:input id="inpId" ref="Doc:Id">
                  > > > > > > <xforms:label>Id</xforms:label>
                  > > > > > > <xforms:alert>Give me an ID! - MAX 35
                  > > characters</xforms:alert>
                  > > > > > > </xforms:input>
                  > > > > > > <br />
                  > > > > > > <xforms:input id="inpCreDtTm" ref="Doc:CreDtTm">
                  > > > > > > <xforms:label>Cre Dt Tm</xforms:label>
                  > > > > > > <xforms:alert>NOT a valid date time
                  > is it?</xforms:alert>
                  > > > > > > </xforms:input>
                  > > > > > > </xforms:group>
                  > > > > > > ...
                  > > > > > >
                  > > > > > > I have tried all variations on the xpath, including adding
                  > > the full
                  > > > > > > path within the group. Nothing works.
                  > > > > > >
                  > > > > > > Can only get validation working by removing the group
                  > tags. I
                  > > have
                  > > > > > > used xformation to generate the form from the xsd.
                  > > > > > >
                  > > > > > > Many thanks to anyone who can suggest anything or offer
                  > any help.
                  > > > > > >
                  > > > > > > John.
                  > > > > > >
                  > > > > > >
                  > > > > >
                  > > > > >
                  > > > > >
                  > > > > > --
                  > > > > > Mark Birbeck
                  > > > > > CEO
                  > > > > > x-port.net Ltd.
                  > > > > >
                  > > > > > e: Mark.Birbeck@
                  > > > > > t: +44 (0) 20 7689 9232
                  > > > > > w: http://www.formsPlayer.com/
                  > > > > > b: http://internet-apps.blogspot.com/
                  > > > > >
                  > > > > > Download our XForms processor from
                  > > > > > http://www.formsPlayer.com/
                  > > > > >
                  > > > >
                  > > >
                  > >
                  >
                • tradocs_uk
                  patrick, thanks for your input. I cannot find a way to get this to work. I have even tried other implementations. All of these *appear* to be
                  Message 8 of 9 , Aug 3, 2006
                  • 0 Attachment
                    patrick, thanks for your input. I cannot find a way to get this to
                    work. I have even tried other implementations. All of these *appear*
                    to be incomplete/unsupported/not quite finished.

                    Are there any non-prototype users of xforms out there? are xforms
                    being used in anger anywhere in a real world business environment?

                    We would really like to use xforms but we are coming to the conclusion
                    that it is still very much in alpha/beta stage.

                    What do you think?

                    thanks, John.
                    --- In formsPlayer@yahoogroups.com, "patrickseiffert" <seiffert@...>
                    wrote:
                    >
                    > Hello John.
                    >
                    > I tried on my own with a little dummy file using group and non-group.
                    >
                    > It seems to me I get the same problem but have no idea what may be the
                    > reason.
                    >
                    > So far, just to give some feedback.
                    >
                    > I will try on another runtime (XSmiles or Orbeon) to see if it is a
                    > formsPlayer-issue. Also I looked up the w3c-standards-page but could
                    > not find a hint that explains this behaviour.
                    >
                    > Keep me up to date if you found something out.
                    >
                    > Regards,
                    > Patrick
                    >
                    > --- In formsPlayer@yahoogroups.com, "tradocs_uk" <johnstean@> wrote:
                    > >
                    > > Patrick, many thanks for your time in looking. Here are the files,
                    > > the form has both group and no group elements - just comment out the
                    > > one you want to see. The non-group AckId works, the group AckId
                    > > fails.
                    > >
                    > > files :
                    > >
                    > > CODE-START:
                    > >
                    > > ####the form
                    > >
                    > > <?xml version="1.0" encoding="utf-8"?>
                    > > <!--This Document was edited using XFormation (Trial) by Focus
                    > > Software Limited on 19 July 2006 at 11:56.-->
                    > > <html xmlns:xforms="http://www.w3.org/2002/xforms"
                    > > xmlns:ev="http://www.w3.org/2001/xml-events"
                    > > xmlns:Doc="urn:swift:xsd:$tsmt.001.001.01"
                    > > xmlns="http://www.w3.org/1999/xhtml">
                    > > <head>
                    > > <object width="0" height="0" id="FormsPlayer"
                    > > classid="CLSID:4D0ABA11-C5F0-4478-991A-375C4B648F58">
                    > > <b>FormsPlayer has failed to load! Please
                    > > check your installation.</b>
                    > > <br />
                    > > <br />
                    > > </object>
                    > > <?import namespace="xforms"
                    > > implementation="#FormsPlayer"?>
                    > > <xforms:model id="mdlDocument" schema="$tsmt.001.001.01.xsd">
                    > > <xforms:instance id="dataDocument">
                    > > <Document xmlns="urn:swift:xsd:$tsmt.001.001.01"
                    > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                    > > xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                    > > <tsmt.001.001.01>
                    > > <AckId>
                    > > <Id>dd</Id>
                    > > <CreDtTm>2002-05-07T17:30:47-01:00</CreDtTm>
                    > > </AckId>
                    > > <TxId>
                    > > <Id>string</Id>
                    > > </TxId>
                    > > <TSUBaselnId>
                    > > <Id>string</Id>
                    > > <Vrsn>999999999999999999</Vrsn>
                    > > </TSUBaselnId>
                    > > <TxSts>
                    > > <Sts>CLRQ</Sts>
                    > > </TxSts>
                    > > <UsrTxRef>
                    > > <Id>string</Id>
                    > > <IdIssr>
                    > > <BIC>string</BIC>
                    > > </IdIssr>
                    > > </UsrTxRef>
                    > > <AckdMsgRef>
                    > > <Id>ddd</Id>
                    > > <CreDtTm>2002-05-07T17:30:47-01:00</CreDtTm>
                    > > </AckdMsgRef>
                    > > <ReqForActn>
                    > > <Tp>ARBA</Tp>
                    > > <Desc>string</Desc>
                    > > </ReqForActn>
                    > > </tsmt.001.001.01>
                    > > </Document>
                    > > </xforms:instance>
                    > > </xforms:model>
                    > > </head>
                    > > <body>
                    > >
                    > > <!--xsd validation works without a group tag here --><!--
                    > > <xforms:input id="inpIdhj"
                    > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:Id">
                    > > <xforms:label>Id</xforms:label>
                    > > <xforms:alert>Give me an ID! - MAX 35
                    > > characters</xforms:alert>
                    > > </xforms:input>
                    > > <br />
                    > > <xforms:input id="inpCreDtTmhj"
                    > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:CreDtTm">
                    > > <xforms:label>Cre Dt Tm</xforms:label>
                    > > <xforms:alert>NOT a valid date time is it?</xforms:alert>
                    > > </xforms:input>
                    > > <br />
                    > > -->
                    > >
                    > > <!--xsd validation fails within a group tag -->
                    > >
                    > > <xforms:group id="grpAckdMsgRef"
                    > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId">
                    > > <xforms:label>Ackd Msg Ref</xforms:label>
                    > > <xforms:input id="inpIdzz" ref="Doc:Id">
                    > > <xforms:label>Id GROUP</xforms:label>
                    > > </xforms:input>
                    > > <br />
                    > > <xforms:input id="inpCreDtTmzz" ref="Doc:CreDtTm">
                    > > <xforms:label>Cre Dt Tm GROUP</xforms:label>
                    > > </xforms:input>
                    > > <br />
                    > > </xforms:group>
                    > >
                    > >
                    > > <xforms:input id="inpIdsd"
                    > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:TxId/Doc:Id">
                    > > <xforms:label>Tx Id</xforms:label>
                    > > </xforms:input>
                    > >
                    > > <br />
                    > >
                    > > <xforms:input id="inpIdy"
                    > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:TSUBaselnId/Doc:Id">
                    > > <xforms:label>TSUBaseln Id</xforms:label>
                    > > <xforms:alert>hey this is NOT the required
                    > > type</xforms:alert>
                    > > </xforms:input>
                    > > <br />
                    > > <xforms:input id="inpVrsn"
                    > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:TSUBaselnId/Doc:Vrsn">
                    > > <xforms:label>Vrsn</xforms:label>
                    > > </xforms:input>
                    > > <br />
                    > > <!--
                    > > <xforms:input id="inpIdd"
                    > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckdMsgRef/Doc:Id">
                    > > <xforms:label>Id</xforms:label>
                    > > <xforms:alert>Give me an ID! - MAX 35
                    > > characters</xforms:alert>
                    > > </xforms:input>
                    > > <br />
                    > > <xforms:input id="inpCreDtTmd"
                    > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckdMsgRef/Doc:CreDtTm">
                    > > <xforms:label>Cre Dt Tm</xforms:label>
                    > > <xforms:alert>NOT a valid date time is it?
                    > > </xforms:alert>
                    > > </xforms:input> -->
                    > >
                    > > <br />
                    > >
                    > > <xforms:select1 id="selSts"
                    > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:TxSts/Doc:Sts">
                    > > <xforms:label>Tx Sts</xforms:label>
                    > > <xforms:item>
                    > > <xforms:label>CLRQ</xforms:label>
                    > > <xforms:value>CLRQ</xforms:value>
                    > > </xforms:item>
                    > > <xforms:item>
                    > > <xforms:label>ACTV</xforms:label>
                    > > <xforms:value>ACTV</xforms:value>
                    > > </xforms:item>
                    > > <xforms:item>
                    > > <xforms:label>AMRQ</xforms:label>
                    > > <xforms:value>AMRQ</xforms:value>
                    > > </xforms:item>
                    > > <xforms:item>
                    > > <xforms:label>CLSD</xforms:label>
                    > > <xforms:value>CLSD</xforms:value>
                    > > </xforms:item>
                    > > <xforms:item>
                    > > <xforms:label>COMP</xforms:label>
                    > > <xforms:value>COMP</xforms:value>
                    > > </xforms:item>
                    > > <xforms:item>
                    > > <xforms:label>PROP</xforms:label>
                    > > <xforms:value>PROP</xforms:value>
                    > > </xforms:item>
                    > > <xforms:item>
                    > > <xforms:label>ESTD</xforms:label>
                    > > <xforms:value>ESTD</xforms:value>
                    > > </xforms:item>
                    > > <xforms:item>
                    > > <xforms:label>RARQ</xforms:label>
                    > > <xforms:value>RARQ</xforms:value>
                    > > </xforms:item>
                    > > <xforms:item>
                    > > <xforms:label>PMTC</xforms:label>
                    > > <xforms:value>PMTC</xforms:value>
                    > > </xforms:item>
                    > > </xforms:select1>
                    > > <br />
                    > > <!--</xforms:group>
                    > > <xforms:group id="grpUsrTxRef"
                    > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:UsrTxRef">
                    > > <xforms:label>Usr Tx Ref</xforms:label>-->
                    > > <xforms:input id="inpIdqq"
                    > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:UsrTxRef/Doc:Id">
                    > > <xforms:label>Id</xforms:label>
                    > > </xforms:input>
                    > > <br />
                    > > <xforms:group id="grpIdIssr"
                    > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:UsrTxRef/Doc:IdIssr">
                    > > <xforms:label>Id Issr</xforms:label>
                    > > <xforms:input id="inpBIC" ref="Doc:BIC">
                    > > <xforms:label>BIC</xforms:label>
                    > > </xforms:input>
                    > > <br />
                    > > <!-- </xforms:group>
                    > >
                    > >
                    > > </xforms:group>
                    > > <xforms:group id="grpAckdMsgRef"
                    > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckdMsgRef">
                    > > <xforms:label>Ackd Msg Ref</xforms:label>-->
                    > >
                    > >
                    > >
                    > > <br />
                    > >
                    > >
                    > >
                    > > <!--<xforms:group id="grpReqForActn"
                    > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:ReqForActn">-->
                    > > <xforms:label>Req For Actn</xforms:label>
                    > > <xforms:select1 id="selTp"
                    > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:ReqForActn/Doc:Tp">
                    > > <xforms:label>Tp</xforms:label>
                    > > <xforms:item>
                    > > <xforms:label>ARBA</xforms:label>
                    > > <xforms:value>ARBA</xforms:value>
                    > > </xforms:item>
                    > > <xforms:item>
                    > > <xforms:label>RSTW</xforms:label>
                    > > <xforms:value>RSTW</xforms:value>
                    > > </xforms:item>
                    > > <xforms:item>
                    > > <xforms:label>UPDT</xforms:label>
                    > > <xforms:value>UPDT</xforms:value>
                    > > </xforms:item>
                    > > <xforms:item>
                    > > <xforms:label>ARES</xforms:label>
                    > > <xforms:value>ARES</xforms:value>
                    > > </xforms:item>
                    > > <xforms:item>
                    > > <xforms:label>ARDM</xforms:label>
                    > > <xforms:value>ARDM</xforms:value>
                    > > </xforms:item>
                    > > <xforms:item>
                    > > <xforms:label>SBTW</xforms:label>
                    > > <xforms:value>SBTW</xforms:value>
                    > > </xforms:item>
                    > > <xforms:item>
                    > > <xforms:label>SBDS</xforms:label>
                    > > <xforms:value>SBDS</xforms:value>
                    > > </xforms:item>
                    > > <xforms:item>
                    > > <xforms:label>RSBS</xforms:label>
                    > > <xforms:value>RSBS</xforms:value>
                    > > </xforms:item>
                    > > <xforms:item>
                    > > <xforms:label>ARCS</xforms:label>
                    > > <xforms:value>ARCS</xforms:value>
                    > > </xforms:item>
                    > > <xforms:item>
                    > > <xforms:label>WAIT</xforms:label>
                    > > <xforms:value>WAIT</xforms:value>
                    > > </xforms:item>
                    > > </xforms:select1>
                    > > <br />
                    > > <xforms:input id="inpDesc"
                    > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:ReqForActn/Doc:Desc">
                    > > <xforms:label>Desc</xforms:label>
                    > > </xforms:input>
                    > > <br />
                    > > <!--</xforms:group>
                    > >
                    > > </body>
                    > > </html>
                    > >
                    > > #####################################
                    > > the xsd
                    > > #####################################
                    > >
                    > > <?xml version="1.0" encoding="UTF-8"?>
                    > > <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
                    > > xmlns="urn:swift:xsd:$tsmt.001.001.01"
                    > > targetNamespace="urn:swift:xsd:$tsmt.001.001.01"
                    > > elementFormDefault="qualified">
                    > > <xs:element name="Document" type="Document"/>
                    > > <xs:simpleType name="Action1Code">
                    > > <xs:restriction base="xs:string">
                    > > <xs:enumeration value="SBTW"/>
                    > > <xs:enumeration value="RSTW"/>
                    > > <xs:enumeration value="RSBS"/>
                    > > <xs:enumeration value="ARDM"/>
                    > > <xs:enumeration value="ARCS"/>
                    > > <xs:enumeration value="ARES"/>
                    > > <xs:enumeration value="WAIT"/>
                    > > <xs:enumeration value="UPDT"/>
                    > > <xs:enumeration value="SBDS"/>
                    > > <xs:enumeration value="ARBA"/>
                    > > </xs:restriction>
                    > > </xs:simpleType>
                    > > <xs:complexType name="BICIdentification1">
                    > > <xs:sequence>
                    > > <xs:element name="BIC" type="BICIdentifier"/>
                    > > </xs:sequence>
                    > > </xs:complexType>
                    > > <xs:simpleType name="BICIdentifier">
                    > > <xs:restriction base="xs:string">
                    > > <xs:pattern value="[A-Z]{6,6}[A-Z2-9][A-NP-
                    > > Z0-9]([A-Z0-9]{3,3}){0,1}"/>
                    > > </xs:restriction>
                    > > </xs:simpleType>
                    > > <xs:simpleType name="BaselineStatus1Code">
                    > > <xs:restriction base="xs:string">
                    > > <xs:enumeration value="PROP"/>
                    > > <xs:enumeration value="CLSD"/>
                    > > <xs:enumeration value="PMTC"/>
                    > > <xs:enumeration value="ESTD"/>
                    > > <xs:enumeration value="ACTV"/>
                    > > <xs:enumeration value="COMP"/>
                    > > <xs:enumeration value="AMRQ"/>
                    > > <xs:enumeration value="RARQ"/>
                    > > <xs:enumeration value="CLRQ"/>
                    > > </xs:restriction>
                    > > </xs:simpleType>
                    > > <xs:complexType name="Document">
                    > > <xs:sequence>
                    > > <xs:element name="tsmt.001.001.01"
                    > > type="tsmt.001.001.01"/>
                    > > </xs:sequence>
                    > > </xs:complexType>
                    > > <xs:complexType name="DocumentIdentification3">
                    > > <xs:sequence>
                    > > <xs:element name="Id" type="Max35Text"/>
                    > > <xs:element name="Vrsn" type="Number"/>
                    > > </xs:sequence>
                    > > </xs:complexType>
                    > > <xs:complexType name="DocumentIdentification5">
                    > > <xs:sequence>
                    > > <xs:element name="Id" type="Max35Text"/>
                    > > <xs:element name="IdIssr"
                    > > type="BICIdentification1"/>
                    > > </xs:sequence>
                    > > </xs:complexType>
                    > > <xs:simpleType name="ISODateTime">
                    > > <xs:restriction base="xs:dateTime"/>
                    > > </xs:simpleType>
                    > > <xs:simpleType name="Max140Text">
                    > > <xs:restriction base="xs:string">
                    > > <xs:minLength value="1"/>
                    > > <xs:maxLength value="140"/>
                    > > </xs:restriction>
                    > > </xs:simpleType>
                    > > <xs:simpleType name="Max35Text">
                    > > <xs:restriction base="xs:string">
                    > > <xs:minLength value="1"/>
                    > > <xs:maxLength value="35"/>
                    > > </xs:restriction>
                    > > </xs:simpleType>
                    > > <xs:complexType name="MessageIdentification1">
                    > > <xs:sequence>
                    > > <xs:element name="Id" type="Max35Text"/>
                    > > <xs:element name="CreDtTm"
                    > > type="ISODateTime"/>
                    > > </xs:sequence>
                    > > </xs:complexType>
                    > > <xs:simpleType name="Number">
                    > > <xs:restriction base="xs:decimal">
                    > > <xs:fractionDigits value="0"/>
                    > > <xs:totalDigits value="18"/>
                    > > </xs:restriction>
                    > > </xs:simpleType>
                    > > <xs:complexType name="PendingActivity1">
                    > > <xs:sequence>
                    > > <xs:element name="Tp" type="Action1Code"/>
                    > > <xs:element name="Desc" type="Max140Text"
                    > > minOccurs="0"/>
                    > > </xs:sequence>
                    > > </xs:complexType>
                    > > <xs:complexType name="SimpleIdentificationInformation">
                    > > <xs:sequence>
                    > > <xs:element name="Id" type="Max35Text"/>
                    > > </xs:sequence>
                    > > </xs:complexType>
                    > > <xs:complexType name="TransactionStatus1">
                    > > <xs:sequence>
                    > > <xs:element name="Sts"
                    > > type="BaselineStatus1Code"/>
                    > > </xs:sequence>
                    > > </xs:complexType>
                    > > <xs:complexType name="tsmt.001.001.01">
                    > > <xs:sequence>
                    > > <xs:element name="AckId"
                    > > type="MessageIdentification1"/>
                    > > <xs:element name="TxId"
                    > > type="SimpleIdentificationInformation"/>
                    > > <xs:element name="TSUBaselnId"
                    > > type="DocumentIdentification3" minOccurs="0"/>
                    > > <xs:element name="TxSts"
                    > > type="TransactionStatus1"/>
                    > > <xs:element name="UsrTxRef"
                    > > type="DocumentIdentification5"/>
                    > > <xs:element name="AckdMsgRef"
                    > > type="MessageIdentification1"/>
                    > > <xs:element name="ReqForActn"
                    > > type="PendingActivity1" minOccurs="0"/>
                    > > </xs:sequence>
                    > > </xs:complexType>
                    > > </xs:schema>
                    > >
                    > > ######################
                    > >
                    > > CODE-END
                    > >
                    > >
                    > > --- In formsPlayer@yahoogroups.com, "patrickseiffert" <seiffert@>
                    > > wrote:
                    > > >
                    > > > John.
                    > > >
                    > > > Note that I used a simple type-binding instead of linking with an
                    > > schema!
                    > > >
                    > > > Bye
                    > > >
                    > > > --- In formsPlayer@yahoogroups.com, "patrickseiffert" <seiffert@>
                    > > > wrote:
                    > > > >
                    > > > > Hi John.
                    > > > >
                    > > > > Couldn't find the error in your form.
                    > > > > BUT I can tell you that validation inside a group does work
                    > > using the
                    > > > > following example:
                    > > > >
                    > > > > CODE-START:
                    > > > > <?xml version="1.0" encoding="UTF-8"?>
                    > > > > <html xmlns="http://www.w3.org/1999/xhtml"
                    > > > > xmlns:xf="http://www.w3.org/2002/xforms"
                    > > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                    > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                    > > > > xmlns:ev="http://www.w3.org/2001/xml-events">
                    > > > > <object classid="CLSID:4D0ABA11-C5F0-4478-991A-375C4B648F58"
                    > > > > id="formsPlayer" height="0" width="0">
                    > > > > <b>formsPlayer has failed to load! Please check your
                    > > installation.</b>
                    > > > > </object>
                    > > > > <?import namespace="xf" implementation="#formsPlayer" ?>
                    > > > > <head>
                    > > > > <title>Event</title>
                    > > > > <xf:model>
                    > > > > <xf:instance>
                    > > > > <data xmlns="">
                    > > > > <id />
                    > > > > <ob />
                    > > > > </data>
                    > > > > </xf:instance>
                    > > > > <xf:bind nodeset="/data/id"
                    > > type="xsd:positiveInteger"
                    > > > > required="false" />
                    > > > > <xf:submission id="s"
                    > > > > action="file://D:\Code\XML\XMLEvents\events.xml" method="put" />
                    > > > > </xf:model>
                    > > > > </head>
                    > > > > <body>
                    > > > > <xf:group>
                    > > > > <div>
                    > > > > <xf:input ref="id" id="theInput">
                    > > > > <xf:label>id akzeptiert
                    > > NUR "positiveInteger": </xf:label>
                    > > > > <xf:action ev:event="xforms-
                    > > invalid">
                    > > > > <xf:message
                    > > level="modal">invalide-event vom input
                    > > > "id"</xf:message>
                    > > > > </xf:action>
                    > > > > </xf:input>
                    > > > > </div>
                    > > > > <div>
                    > > > > <xf:input ref="ob">
                    > > > > <xf:label>ob akzeptiert
                    > > ALLES: </xf:label>
                    > > > > </xf:input>
                    > > > > </div>
                    > > > > <div>
                    > > > > <xf:input ref="ob">
                    > > > > <xf:label>ob akzeptiert
                    > > ALLES DomFokusIn: </xf:label>
                    > > > > <xf:message level="modal"
                    > > ev:event="DOMFocusIn">Fokus in
                    > > > > "ob"</xf:message>
                    > > > > </xf:input>
                    > > > > </div>
                    > > > > </xf:group>
                    > > > > <div>
                    > > > > <xf:submit submission="s" id="idSubmit">
                    > > > > <xf:label>submit</xf:label>
                    > > > > </xf:submit>
                    > > > > </div>
                    > > > > </body>
                    > > > > </html>
                    > > > >
                    > > > > CODE-END
                    > > > >
                    > > > > You can copy/paste all the code and try it on your formsplayers
                    > > > > installation.
                    > > > >
                    > > > > Hope my simple example can help you. Otherwise perhaps you should
                    > > > > publish your whole code.
                    > > > >
                    > > > > Regards,
                    > > > > Patrick
                    > > > > --- In formsPlayer@yahoogroups.com, "tradocs_uk" <johnstean@>
                    > > wrote:
                    > > > > >
                    > > > > > Hi Mark, appreciate you taking a look. Yes, this was a cut n
                    > > paste
                    > > > > > error in the post (cant edit the post?) . Here is the corrected
                    > > > > > NON-group snippet that works for validation:
                    > > > > >
                    > > > > > ...
                    > > > > > <xforms:input id="inpId"
                    > > > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:Id">
                    > > > > > <xforms:label>Id</xforms:label>
                    > > > > > <xforms:alert>Give me an ID! - MAX 35 characters</xforms:alert>
                    > > > > > </xforms:input>
                    > > > > > <br />
                    > > > > > <xforms:input id="inpCreDtTm"
                    > > > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:CreDtTm">
                    > > > > > <xforms:label>Cre Dt Tm</xforms:label>
                    > > > > > <xforms:alert>NOT a valid date time is it?
                    > > </xforms:alert>
                    > > > > > </xforms:input>
                    > > > > > ....
                    > > > > > and using the GROUP element it does not validate:
                    > > > > >
                    > > > > > <xforms:group
                    > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId">
                    > > > >
                    > > > > > <xforms:input id="inpId" ref="Doc:Id">
                    > > > > > <xforms:label>Id</xforms:label>
                    > > > > > <xforms:alert>Give me an ID! - MAX 35
                    > > characters</xforms:alert>
                    > > > > > </xforms:input>
                    > > > > > <br />
                    > > > > > <xforms:input id="inpCreDtTm" ref="Doc:CreDtTm">
                    > > > > > <xforms:label>Cre Dt Tm</xforms:label>
                    > > > > > <xforms:alert>NOT a valid date time is it?
                    > > </xforms:alert>
                    > > > > > </xforms:input>
                    > > > > > </xforms:group>
                    > > > > >
                    > > > > >
                    > > > > >
                    > > > > > --- In formsPlayer@yahoogroups.com, "Mark Birbeck"
                    > > <mark.birbeck@>
                    > > > > > wrote:
                    > > > > > >
                    > > > > > > Hi John,
                    > > > > > >
                    > > > > > > It's difficult to say from a distance :) but at first glance
                    > > your
                    > > > > > > XPath statements don't seem to be equivalent. In the first
                    > > > example you
                    > > > > > > have two controls, bound to:
                    > > > > > >
                    > > > > > > /Doc:Document/Doc:tsmt.001.001.01/Doc:Id
                    > > > > > > /Doc:Document/Doc:tsmt.001.001.01/Doc:CreDtTm
                    > > > > > >
                    > > > > > > In the second example you have the controls bound to:
                    > > > > > >
                    > > > > > > /Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:Id
                    > > > > > > /Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:CreDtTm
                    > > > > > >
                    > > > > > > This may be intentional--i.e., the nodes may exist at both
                    > > > levels--or
                    > > > > > > you may have just made a typo when cutting and pasting into
                    > > the
                    > > > email.
                    > > > > > > But if your actual form is like this, and the nodes don't
                    > > exist,
                    > > > then
                    > > > > > > things won't work as you want.
                    > > > > > >
                    > > > > > > Perhaps you could double-check and let us know?
                    > > > > > >
                    > > > > > > Regards,
                    > > > > > >
                    > > > > > > Mark
                    > > > > > >
                    > > > > > > On 01/08/06, tradocs_uk <johnstean@> wrote:
                    > > > > > > >
                    > > > > > > >
                    > > > > > > >
                    > > > > > > >
                    > > > > > > >
                    > > > > > > >
                    > > > > > > >
                    > > > > > > > Hi, just started using xforms - not sure if this is a
                    > > formsplayer
                    > > > > > > > issue, xforms issue, or ignorance on my part.
                    > > > > > > >
                    > > > > > > > I am validating against an xsd. here is a snippet...
                    > > > > > > >
                    > > > > > > > (the xsd)
                    > > > > > > > ....
                    > > > > > > > <xs:complexType name="MessageIdentification1">
                    > > > > > > > <xs:sequence>
                    > > > > > > > <xs:element name="Id"
                    > > type="Max35Text"/>
                    > > > > > > > <xs:element name="CreDtTm"
                    > > type="ISODateTime"/>
                    > > > > > > >
                    > > > > > > > ...
                    > > > > > > >
                    > > > > > > > </xs:sequence>
                    > > > > > > > </xs:complexType>
                    > > > > > > > <xs:sequence>
                    > > > > > > > <xs:element name="AckId"
                    > > type="MessageIdentification1"/>
                    > > > > > > > ...
                    > > > > > > >
                    > > > > > > > in the xform:
                    > > > > > > >
                    > > > > > > > validation works this way:
                    > > > > > > >
                    > > > > > > > ...
                    > > > > > > > <xforms:label>Ack Id</xforms:label>
                    > > > > > > > <xforms:input id="inpId"
                    > > > > > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:Id">
                    > > > > > > > <xforms:label>Id</xforms:label>
                    > > > > > > > <xforms:alert>Give me an ID! - MAX 35
                    > > > characters</xforms:alert>
                    > > > > > > > </xforms:input>
                    > > > > > > > <br />
                    > > > > > > > <xforms:input id="inpCreDtTm"
                    > > > > > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:CreDtTm">
                    > > > > > > > <xforms:label>Cre Dt Tm</xforms:label>
                    > > > > > > > <xforms:alert>NOT a valid date time
                    > > is it?</xforms:alert>
                    > > > > > > > </xforms:input>
                    > > > > > > > ...
                    > > > > > > >
                    > > > > > > > but not when put in a group:
                    > > > > > > >
                    > > > > > > > ....
                    > > > > > > > <xforms:group id="grpAckId"
                    > > > > > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId">
                    > > > > > > > <xforms:label>Ack Id</xforms:label>
                    > > > > > > > <xforms:input id="inpId" ref="Doc:Id">
                    > > > > > > > <xforms:label>Id</xforms:label>
                    > > > > > > > <xforms:alert>Give me an ID! - MAX 35
                    > > > characters</xforms:alert>
                    > > > > > > > </xforms:input>
                    > > > > > > > <br />
                    > > > > > > > <xforms:input id="inpCreDtTm" ref="Doc:CreDtTm">
                    > > > > > > > <xforms:label>Cre Dt Tm</xforms:label>
                    > > > > > > > <xforms:alert>NOT a valid date time
                    > > is it?</xforms:alert>
                    > > > > > > > </xforms:input>
                    > > > > > > > </xforms:group>
                    > > > > > > > ...
                    > > > > > > >
                    > > > > > > > I have tried all variations on the xpath, including adding
                    > > > the full
                    > > > > > > > path within the group. Nothing works.
                    > > > > > > >
                    > > > > > > > Can only get validation working by removing the group
                    > > tags. I
                    > > > have
                    > > > > > > > used xformation to generate the form from the xsd.
                    > > > > > > >
                    > > > > > > > Many thanks to anyone who can suggest anything or offer
                    > > any help.
                    > > > > > > >
                    > > > > > > > John.
                    > > > > > > >
                    > > > > > > >
                    > > > > > >
                    > > > > > >
                    > > > > > >
                    > > > > > > --
                    > > > > > > Mark Birbeck
                    > > > > > > CEO
                    > > > > > > x-port.net Ltd.
                    > > > > > >
                    > > > > > > e: Mark.Birbeck@
                    > > > > > > t: +44 (0) 20 7689 9232
                    > > > > > > w: http://www.formsPlayer.com/
                    > > > > > > b: http://internet-apps.blogspot.com/
                    > > > > > >
                    > > > > > > Download our XForms processor from
                    > > > > > > http://www.formsPlayer.com/
                    > > > > > >
                    > > > > >
                    > > > >
                    > > >
                    > >
                    >
                  • patrickseiffert
                    Hello John. I m working with XML for only 4 or 5 month. Because I m working on my Bachelor graduation, where I m writing about XML and XForms as well. So to me
                    Message 9 of 9 , Aug 5, 2006
                    • 0 Attachment
                      Hello John.

                      I'm working with XML for only 4 or 5 month. Because I'm working on my
                      Bachelor graduation, where I'm writing about XML and XForms as well.

                      So to me "working on the cutting edge" sometimes is also very
                      exhausting. But I find it very interesting and I'm looking forward to
                      an established XForms-technology.

                      My employer (who also sets on these technology I'm writing about) also
                      wants to use XForms for production-systems. And we will make it work ;)

                      So John, don't give up and keep on investigating in XForms. There are
                      a lot of people out there working on it and improving. First it might
                      seem uncomfortable but consider it as a challenge.

                      Have you also tried the server-side implementations of XForms like
                      Chiba or Orbeon PresentationServer (latter one I'm just started
                      working with)?

                      Cheers,
                      Pat

                      --- In formsPlayer@yahoogroups.com, "tradocs_uk" <johnstean@...> wrote:
                      >
                      >
                      > patrick, thanks for your input. I cannot find a way to get this to
                      > work. I have even tried other implementations. All of these *appear*
                      > to be incomplete/unsupported/not quite finished.
                      >
                      > Are there any non-prototype users of xforms out there? are xforms
                      > being used in anger anywhere in a real world business environment?
                      >
                      > We would really like to use xforms but we are coming to the conclusion
                      > that it is still very much in alpha/beta stage.
                      >
                      > What do you think?
                      >
                      > thanks, John.
                      > --- In formsPlayer@yahoogroups.com, "patrickseiffert" <seiffert@>
                      > wrote:
                      > >
                      > > Hello John.
                      > >
                      > > I tried on my own with a little dummy file using group and non-group.
                      > >
                      > > It seems to me I get the same problem but have no idea what may be the
                      > > reason.
                      > >
                      > > So far, just to give some feedback.
                      > >
                      > > I will try on another runtime (XSmiles or Orbeon) to see if it is a
                      > > formsPlayer-issue. Also I looked up the w3c-standards-page but could
                      > > not find a hint that explains this behaviour.
                      > >
                      > > Keep me up to date if you found something out.
                      > >
                      > > Regards,
                      > > Patrick
                      > >
                      > > --- In formsPlayer@yahoogroups.com, "tradocs_uk" <johnstean@> wrote:
                      > > >
                      > > > Patrick, many thanks for your time in looking. Here are the files,
                      > > > the form has both group and no group elements - just comment out
                      the
                      > > > one you want to see. The non-group AckId works, the group AckId
                      > > > fails.
                      > > >
                      > > > files :
                      > > >
                      > > > CODE-START:
                      > > >
                      > > > ####the form
                      > > >
                      > > > <?xml version="1.0" encoding="utf-8"?>
                      > > > <!--This Document was edited using XFormation (Trial) by Focus
                      > > > Software Limited on 19 July 2006 at 11:56.-->
                      > > > <html xmlns:xforms="http://www.w3.org/2002/xforms"
                      > > > xmlns:ev="http://www.w3.org/2001/xml-events"
                      > > > xmlns:Doc="urn:swift:xsd:$tsmt.001.001.01"
                      > > > xmlns="http://www.w3.org/1999/xhtml">
                      > > > <head>
                      > > > <object width="0" height="0" id="FormsPlayer"
                      > > > classid="CLSID:4D0ABA11-C5F0-4478-991A-375C4B648F58">
                      > > > <b>FormsPlayer has failed to load! Please
                      > > > check your installation.</b>
                      > > > <br />
                      > > > <br />
                      > > > </object>
                      > > > <?import namespace="xforms"
                      > > > implementation="#FormsPlayer"?>
                      > > > <xforms:model id="mdlDocument" schema="$tsmt.001.001.01.xsd">
                      > > > <xforms:instance id="dataDocument">
                      > > > <Document xmlns="urn:swift:xsd:$tsmt.001.001.01"
                      > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                      > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                      > > > <tsmt.001.001.01>
                      > > > <AckId>
                      > > > <Id>dd</Id>
                      > > > <CreDtTm>2002-05-07T17:30:47-01:00</CreDtTm>
                      > > > </AckId>
                      > > > <TxId>
                      > > > <Id>string</Id>
                      > > > </TxId>
                      > > > <TSUBaselnId>
                      > > > <Id>string</Id>
                      > > > <Vrsn>999999999999999999</Vrsn>
                      > > > </TSUBaselnId>
                      > > > <TxSts>
                      > > > <Sts>CLRQ</Sts>
                      > > > </TxSts>
                      > > > <UsrTxRef>
                      > > > <Id>string</Id>
                      > > > <IdIssr>
                      > > > <BIC>string</BIC>
                      > > > </IdIssr>
                      > > > </UsrTxRef>
                      > > > <AckdMsgRef>
                      > > > <Id>ddd</Id>
                      > > > <CreDtTm>2002-05-07T17:30:47-01:00</CreDtTm>
                      > > > </AckdMsgRef>
                      > > > <ReqForActn>
                      > > > <Tp>ARBA</Tp>
                      > > > <Desc>string</Desc>
                      > > > </ReqForActn>
                      > > > </tsmt.001.001.01>
                      > > > </Document>
                      > > > </xforms:instance>
                      > > > </xforms:model>
                      > > > </head>
                      > > > <body>
                      > > >
                      > > > <!--xsd validation works without a group tag here --><!--
                      > > > <xforms:input id="inpIdhj"
                      > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:Id">
                      > > > <xforms:label>Id</xforms:label>
                      > > > <xforms:alert>Give me an ID! - MAX 35
                      > > > characters</xforms:alert>
                      > > > </xforms:input>
                      > > > <br />
                      > > > <xforms:input id="inpCreDtTmhj"
                      > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:CreDtTm">
                      > > > <xforms:label>Cre Dt Tm</xforms:label>
                      > > > <xforms:alert>NOT a valid date time is
                      it?</xforms:alert>
                      > > > </xforms:input>
                      > > > <br />
                      > > > -->
                      > > >
                      > > > <!--xsd validation fails within a group tag -->
                      > > >
                      > > > <xforms:group id="grpAckdMsgRef"
                      > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId">
                      > > > <xforms:label>Ackd Msg Ref</xforms:label>
                      > > > <xforms:input id="inpIdzz" ref="Doc:Id">
                      > > > <xforms:label>Id GROUP</xforms:label>
                      > > > </xforms:input>
                      > > > <br />
                      > > > <xforms:input id="inpCreDtTmzz" ref="Doc:CreDtTm">
                      > > > <xforms:label>Cre Dt Tm GROUP</xforms:label>
                      > > > </xforms:input>
                      > > > <br />
                      > > > </xforms:group>
                      > > >
                      > > >
                      > > > <xforms:input id="inpIdsd"
                      > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:TxId/Doc:Id">
                      > > > <xforms:label>Tx Id</xforms:label>
                      > > > </xforms:input>
                      > > >
                      > > > <br />
                      > > >
                      > > > <xforms:input id="inpIdy"
                      > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:TSUBaselnId/Doc:Id">
                      > > > <xforms:label>TSUBaseln Id</xforms:label>
                      > > > <xforms:alert>hey this is NOT the required
                      > > > type</xforms:alert>
                      > > > </xforms:input>
                      > > > <br />
                      > > > <xforms:input id="inpVrsn"
                      > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:TSUBaselnId/Doc:Vrsn">
                      > > > <xforms:label>Vrsn</xforms:label>
                      > > > </xforms:input>
                      > > > <br />
                      > > > <!--
                      > > > <xforms:input id="inpIdd"
                      > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckdMsgRef/Doc:Id">
                      > > > <xforms:label>Id</xforms:label>
                      > > > <xforms:alert>Give me an ID! - MAX 35
                      > > > characters</xforms:alert>
                      > > > </xforms:input>
                      > > > <br />
                      > > > <xforms:input id="inpCreDtTmd"
                      > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckdMsgRef/Doc:CreDtTm">
                      > > > <xforms:label>Cre Dt Tm</xforms:label>
                      > > > <xforms:alert>NOT a valid date time is it?
                      > > > </xforms:alert>
                      > > > </xforms:input> -->
                      > > >
                      > > > <br />
                      > > >
                      > > > <xforms:select1 id="selSts"
                      > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:TxSts/Doc:Sts">
                      > > > <xforms:label>Tx Sts</xforms:label>
                      > > > <xforms:item>
                      > > > <xforms:label>CLRQ</xforms:label>
                      > > > <xforms:value>CLRQ</xforms:value>
                      > > > </xforms:item>
                      > > > <xforms:item>
                      > > > <xforms:label>ACTV</xforms:label>
                      > > > <xforms:value>ACTV</xforms:value>
                      > > > </xforms:item>
                      > > > <xforms:item>
                      > > > <xforms:label>AMRQ</xforms:label>
                      > > > <xforms:value>AMRQ</xforms:value>
                      > > > </xforms:item>
                      > > > <xforms:item>
                      > > > <xforms:label>CLSD</xforms:label>
                      > > > <xforms:value>CLSD</xforms:value>
                      > > > </xforms:item>
                      > > > <xforms:item>
                      > > > <xforms:label>COMP</xforms:label>
                      > > > <xforms:value>COMP</xforms:value>
                      > > > </xforms:item>
                      > > > <xforms:item>
                      > > > <xforms:label>PROP</xforms:label>
                      > > > <xforms:value>PROP</xforms:value>
                      > > > </xforms:item>
                      > > > <xforms:item>
                      > > > <xforms:label>ESTD</xforms:label>
                      > > > <xforms:value>ESTD</xforms:value>
                      > > > </xforms:item>
                      > > > <xforms:item>
                      > > > <xforms:label>RARQ</xforms:label>
                      > > > <xforms:value>RARQ</xforms:value>
                      > > > </xforms:item>
                      > > > <xforms:item>
                      > > > <xforms:label>PMTC</xforms:label>
                      > > > <xforms:value>PMTC</xforms:value>
                      > > > </xforms:item>
                      > > > </xforms:select1>
                      > > > <br />
                      > > > <!--</xforms:group>
                      > > > <xforms:group id="grpUsrTxRef"
                      > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:UsrTxRef">
                      > > > <xforms:label>Usr Tx Ref</xforms:label>-->
                      > > > <xforms:input id="inpIdqq"
                      > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:UsrTxRef/Doc:Id">
                      > > > <xforms:label>Id</xforms:label>
                      > > > </xforms:input>
                      > > > <br />
                      > > > <xforms:group id="grpIdIssr"
                      > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:UsrTxRef/Doc:IdIssr">
                      > > > <xforms:label>Id Issr</xforms:label>
                      > > > <xforms:input id="inpBIC" ref="Doc:BIC">
                      > > > <xforms:label>BIC</xforms:label>
                      > > > </xforms:input>
                      > > > <br />
                      > > > <!-- </xforms:group>
                      > > >
                      > > >
                      > > > </xforms:group>
                      > > > <xforms:group id="grpAckdMsgRef"
                      > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckdMsgRef">
                      > > > <xforms:label>Ackd Msg Ref</xforms:label>-->
                      > > >
                      > > >
                      > > >
                      > > > <br />
                      > > >
                      > > >
                      > > >
                      > > > <!--<xforms:group id="grpReqForActn"
                      > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:ReqForActn">-->
                      > > > <xforms:label>Req For Actn</xforms:label>
                      > > > <xforms:select1 id="selTp"
                      > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:ReqForActn/Doc:Tp">
                      > > > <xforms:label>Tp</xforms:label>
                      > > > <xforms:item>
                      > > > <xforms:label>ARBA</xforms:label>
                      > > > <xforms:value>ARBA</xforms:value>
                      > > > </xforms:item>
                      > > > <xforms:item>
                      > > > <xforms:label>RSTW</xforms:label>
                      > > > <xforms:value>RSTW</xforms:value>
                      > > > </xforms:item>
                      > > > <xforms:item>
                      > > > <xforms:label>UPDT</xforms:label>
                      > > > <xforms:value>UPDT</xforms:value>
                      > > > </xforms:item>
                      > > > <xforms:item>
                      > > > <xforms:label>ARES</xforms:label>
                      > > > <xforms:value>ARES</xforms:value>
                      > > > </xforms:item>
                      > > > <xforms:item>
                      > > > <xforms:label>ARDM</xforms:label>
                      > > > <xforms:value>ARDM</xforms:value>
                      > > > </xforms:item>
                      > > > <xforms:item>
                      > > > <xforms:label>SBTW</xforms:label>
                      > > > <xforms:value>SBTW</xforms:value>
                      > > > </xforms:item>
                      > > > <xforms:item>
                      > > > <xforms:label>SBDS</xforms:label>
                      > > > <xforms:value>SBDS</xforms:value>
                      > > > </xforms:item>
                      > > > <xforms:item>
                      > > > <xforms:label>RSBS</xforms:label>
                      > > > <xforms:value>RSBS</xforms:value>
                      > > > </xforms:item>
                      > > > <xforms:item>
                      > > > <xforms:label>ARCS</xforms:label>
                      > > > <xforms:value>ARCS</xforms:value>
                      > > > </xforms:item>
                      > > > <xforms:item>
                      > > > <xforms:label>WAIT</xforms:label>
                      > > > <xforms:value>WAIT</xforms:value>
                      > > > </xforms:item>
                      > > > </xforms:select1>
                      > > > <br />
                      > > > <xforms:input id="inpDesc"
                      > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:ReqForActn/Doc:Desc">
                      > > > <xforms:label>Desc</xforms:label>
                      > > > </xforms:input>
                      > > > <br />
                      > > > <!--</xforms:group>
                      > > >
                      > > > </body>
                      > > > </html>
                      > > >
                      > > > #####################################
                      > > > the xsd
                      > > > #####################################
                      > > >
                      > > > <?xml version="1.0" encoding="UTF-8"?>
                      > > > <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
                      > > > xmlns="urn:swift:xsd:$tsmt.001.001.01"
                      > > > targetNamespace="urn:swift:xsd:$tsmt.001.001.01"
                      > > > elementFormDefault="qualified">
                      > > > <xs:element name="Document" type="Document"/>
                      > > > <xs:simpleType name="Action1Code">
                      > > > <xs:restriction base="xs:string">
                      > > > <xs:enumeration value="SBTW"/>
                      > > > <xs:enumeration value="RSTW"/>
                      > > > <xs:enumeration value="RSBS"/>
                      > > > <xs:enumeration value="ARDM"/>
                      > > > <xs:enumeration value="ARCS"/>
                      > > > <xs:enumeration value="ARES"/>
                      > > > <xs:enumeration value="WAIT"/>
                      > > > <xs:enumeration value="UPDT"/>
                      > > > <xs:enumeration value="SBDS"/>
                      > > > <xs:enumeration value="ARBA"/>
                      > > > </xs:restriction>
                      > > > </xs:simpleType>
                      > > > <xs:complexType name="BICIdentification1">
                      > > > <xs:sequence>
                      > > > <xs:element name="BIC" type="BICIdentifier"/>
                      > > > </xs:sequence>
                      > > > </xs:complexType>
                      > > > <xs:simpleType name="BICIdentifier">
                      > > > <xs:restriction base="xs:string">
                      > > > <xs:pattern value="[A-Z]{6,6}[A-Z2-9][A-NP-
                      > > > Z0-9]([A-Z0-9]{3,3}){0,1}"/>
                      > > > </xs:restriction>
                      > > > </xs:simpleType>
                      > > > <xs:simpleType name="BaselineStatus1Code">
                      > > > <xs:restriction base="xs:string">
                      > > > <xs:enumeration value="PROP"/>
                      > > > <xs:enumeration value="CLSD"/>
                      > > > <xs:enumeration value="PMTC"/>
                      > > > <xs:enumeration value="ESTD"/>
                      > > > <xs:enumeration value="ACTV"/>
                      > > > <xs:enumeration value="COMP"/>
                      > > > <xs:enumeration value="AMRQ"/>
                      > > > <xs:enumeration value="RARQ"/>
                      > > > <xs:enumeration value="CLRQ"/>
                      > > > </xs:restriction>
                      > > > </xs:simpleType>
                      > > > <xs:complexType name="Document">
                      > > > <xs:sequence>
                      > > > <xs:element name="tsmt.001.001.01"
                      > > > type="tsmt.001.001.01"/>
                      > > > </xs:sequence>
                      > > > </xs:complexType>
                      > > > <xs:complexType name="DocumentIdentification3">
                      > > > <xs:sequence>
                      > > > <xs:element name="Id" type="Max35Text"/>
                      > > > <xs:element name="Vrsn" type="Number"/>
                      > > > </xs:sequence>
                      > > > </xs:complexType>
                      > > > <xs:complexType name="DocumentIdentification5">
                      > > > <xs:sequence>
                      > > > <xs:element name="Id" type="Max35Text"/>
                      > > > <xs:element name="IdIssr"
                      > > > type="BICIdentification1"/>
                      > > > </xs:sequence>
                      > > > </xs:complexType>
                      > > > <xs:simpleType name="ISODateTime">
                      > > > <xs:restriction base="xs:dateTime"/>
                      > > > </xs:simpleType>
                      > > > <xs:simpleType name="Max140Text">
                      > > > <xs:restriction base="xs:string">
                      > > > <xs:minLength value="1"/>
                      > > > <xs:maxLength value="140"/>
                      > > > </xs:restriction>
                      > > > </xs:simpleType>
                      > > > <xs:simpleType name="Max35Text">
                      > > > <xs:restriction base="xs:string">
                      > > > <xs:minLength value="1"/>
                      > > > <xs:maxLength value="35"/>
                      > > > </xs:restriction>
                      > > > </xs:simpleType>
                      > > > <xs:complexType name="MessageIdentification1">
                      > > > <xs:sequence>
                      > > > <xs:element name="Id" type="Max35Text"/>
                      > > > <xs:element name="CreDtTm"
                      > > > type="ISODateTime"/>
                      > > > </xs:sequence>
                      > > > </xs:complexType>
                      > > > <xs:simpleType name="Number">
                      > > > <xs:restriction base="xs:decimal">
                      > > > <xs:fractionDigits value="0"/>
                      > > > <xs:totalDigits value="18"/>
                      > > > </xs:restriction>
                      > > > </xs:simpleType>
                      > > > <xs:complexType name="PendingActivity1">
                      > > > <xs:sequence>
                      > > > <xs:element name="Tp" type="Action1Code"/>
                      > > > <xs:element name="Desc" type="Max140Text"
                      > > > minOccurs="0"/>
                      > > > </xs:sequence>
                      > > > </xs:complexType>
                      > > > <xs:complexType name="SimpleIdentificationInformation">
                      > > > <xs:sequence>
                      > > > <xs:element name="Id" type="Max35Text"/>
                      > > > </xs:sequence>
                      > > > </xs:complexType>
                      > > > <xs:complexType name="TransactionStatus1">
                      > > > <xs:sequence>
                      > > > <xs:element name="Sts"
                      > > > type="BaselineStatus1Code"/>
                      > > > </xs:sequence>
                      > > > </xs:complexType>
                      > > > <xs:complexType name="tsmt.001.001.01">
                      > > > <xs:sequence>
                      > > > <xs:element name="AckId"
                      > > > type="MessageIdentification1"/>
                      > > > <xs:element name="TxId"
                      > > > type="SimpleIdentificationInformation"/>
                      > > > <xs:element name="TSUBaselnId"
                      > > > type="DocumentIdentification3" minOccurs="0"/>
                      > > > <xs:element name="TxSts"
                      > > > type="TransactionStatus1"/>
                      > > > <xs:element name="UsrTxRef"
                      > > > type="DocumentIdentification5"/>
                      > > > <xs:element name="AckdMsgRef"
                      > > > type="MessageIdentification1"/>
                      > > > <xs:element name="ReqForActn"
                      > > > type="PendingActivity1" minOccurs="0"/>
                      > > > </xs:sequence>
                      > > > </xs:complexType>
                      > > > </xs:schema>
                      > > >
                      > > > ######################
                      > > >
                      > > > CODE-END
                      > > >
                      > > >
                      > > > --- In formsPlayer@yahoogroups.com, "patrickseiffert" <seiffert@>
                      > > > wrote:
                      > > > >
                      > > > > John.
                      > > > >
                      > > > > Note that I used a simple type-binding instead of linking with an
                      > > > schema!
                      > > > >
                      > > > > Bye
                      > > > >
                      > > > > --- In formsPlayer@yahoogroups.com, "patrickseiffert" <seiffert@>
                      > > > > wrote:
                      > > > > >
                      > > > > > Hi John.
                      > > > > >
                      > > > > > Couldn't find the error in your form.
                      > > > > > BUT I can tell you that validation inside a group does work
                      > > > using the
                      > > > > > following example:
                      > > > > >
                      > > > > > CODE-START:
                      > > > > > <?xml version="1.0" encoding="UTF-8"?>
                      > > > > > <html xmlns="http://www.w3.org/1999/xhtml"
                      > > > > > xmlns:xf="http://www.w3.org/2002/xforms"
                      > > > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                      > > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                      > > > > > xmlns:ev="http://www.w3.org/2001/xml-events">
                      > > > > > <object classid="CLSID:4D0ABA11-C5F0-4478-991A-375C4B648F58"
                      > > > > > id="formsPlayer" height="0" width="0">
                      > > > > > <b>formsPlayer has failed to load! Please check your
                      > > > installation.</b>
                      > > > > > </object>
                      > > > > > <?import namespace="xf" implementation="#formsPlayer" ?>
                      > > > > > <head>
                      > > > > > <title>Event</title>
                      > > > > > <xf:model>
                      > > > > > <xf:instance>
                      > > > > > <data xmlns="">
                      > > > > > <id />
                      > > > > > <ob />
                      > > > > > </data>
                      > > > > > </xf:instance>
                      > > > > > <xf:bind nodeset="/data/id"
                      > > > type="xsd:positiveInteger"
                      > > > > > required="false" />
                      > > > > > <xf:submission id="s"
                      > > > > > action="file://D:\Code\XML\XMLEvents\events.xml" method="put" />
                      > > > > > </xf:model>
                      > > > > > </head>
                      > > > > > <body>
                      > > > > > <xf:group>
                      > > > > > <div>
                      > > > > > <xf:input ref="id" id="theInput">
                      > > > > > <xf:label>id akzeptiert
                      > > > NUR "positiveInteger": </xf:label>
                      > > > > > <xf:action ev:event="xforms-
                      > > > invalid">
                      > > > > > <xf:message
                      > > > level="modal">invalide-event vom input
                      > > > > "id"</xf:message>
                      > > > > > </xf:action>
                      > > > > > </xf:input>
                      > > > > > </div>
                      > > > > > <div>
                      > > > > > <xf:input ref="ob">
                      > > > > > <xf:label>ob akzeptiert
                      > > > ALLES: </xf:label>
                      > > > > > </xf:input>
                      > > > > > </div>
                      > > > > > <div>
                      > > > > > <xf:input ref="ob">
                      > > > > > <xf:label>ob akzeptiert
                      > > > ALLES DomFokusIn: </xf:label>
                      > > > > > <xf:message level="modal"
                      > > > ev:event="DOMFocusIn">Fokus in
                      > > > > > "ob"</xf:message>
                      > > > > > </xf:input>
                      > > > > > </div>
                      > > > > > </xf:group>
                      > > > > > <div>
                      > > > > > <xf:submit submission="s" id="idSubmit">
                      > > > > > <xf:label>submit</xf:label>
                      > > > > > </xf:submit>
                      > > > > > </div>
                      > > > > > </body>
                      > > > > > </html>
                      > > > > >
                      > > > > > CODE-END
                      > > > > >
                      > > > > > You can copy/paste all the code and try it on your formsplayers
                      > > > > > installation.
                      > > > > >
                      > > > > > Hope my simple example can help you. Otherwise perhaps you
                      should
                      > > > > > publish your whole code.
                      > > > > >
                      > > > > > Regards,
                      > > > > > Patrick
                      > > > > > --- In formsPlayer@yahoogroups.com, "tradocs_uk" <johnstean@>
                      > > > wrote:
                      > > > > > >
                      > > > > > > Hi Mark, appreciate you taking a look. Yes, this was a cut n
                      > > > paste
                      > > > > > > error in the post (cant edit the post?) . Here is the
                      corrected
                      > > > > > > NON-group snippet that works for validation:
                      > > > > > >
                      > > > > > > ...
                      > > > > > > <xforms:input id="inpId"
                      > > > > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:Id">
                      > > > > > > <xforms:label>Id</xforms:label>
                      > > > > > > <xforms:alert>Give me an ID! - MAX 35
                      characters</xforms:alert>
                      > > > > > > </xforms:input>
                      > > > > > > <br />
                      > > > > > > <xforms:input id="inpCreDtTm"
                      > > > > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:CreDtTm">
                      > > > > > > <xforms:label>Cre Dt Tm</xforms:label>
                      > > > > > > <xforms:alert>NOT a valid date time is it?
                      > > > </xforms:alert>
                      > > > > > > </xforms:input>
                      > > > > > > ....
                      > > > > > > and using the GROUP element it does not validate:
                      > > > > > >
                      > > > > > > <xforms:group
                      > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId">
                      > > > > >
                      > > > > > > <xforms:input id="inpId" ref="Doc:Id">
                      > > > > > > <xforms:label>Id</xforms:label>
                      > > > > > > <xforms:alert>Give me an ID! - MAX 35
                      > > > characters</xforms:alert>
                      > > > > > > </xforms:input>
                      > > > > > > <br />
                      > > > > > > <xforms:input id="inpCreDtTm" ref="Doc:CreDtTm">
                      > > > > > > <xforms:label>Cre Dt Tm</xforms:label>
                      > > > > > > <xforms:alert>NOT a valid date time is it?
                      > > > </xforms:alert>
                      > > > > > > </xforms:input>
                      > > > > > > </xforms:group>
                      > > > > > >
                      > > > > > >
                      > > > > > >
                      > > > > > > --- In formsPlayer@yahoogroups.com, "Mark Birbeck"
                      > > > <mark.birbeck@>
                      > > > > > > wrote:
                      > > > > > > >
                      > > > > > > > Hi John,
                      > > > > > > >
                      > > > > > > > It's difficult to say from a distance :) but at first
                      glance
                      > > > your
                      > > > > > > > XPath statements don't seem to be equivalent. In the first
                      > > > > example you
                      > > > > > > > have two controls, bound to:
                      > > > > > > >
                      > > > > > > > /Doc:Document/Doc:tsmt.001.001.01/Doc:Id
                      > > > > > > > /Doc:Document/Doc:tsmt.001.001.01/Doc:CreDtTm
                      > > > > > > >
                      > > > > > > > In the second example you have the controls bound to:
                      > > > > > > >
                      > > > > > > > /Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:Id
                      > > > > > > > /Doc:Document/Doc:tsmt.001.001.01/Doc:AckId/Doc:CreDtTm
                      > > > > > > >
                      > > > > > > > This may be intentional--i.e., the nodes may exist at both
                      > > > > levels--or
                      > > > > > > > you may have just made a typo when cutting and pasting into
                      > > > the
                      > > > > email.
                      > > > > > > > But if your actual form is like this, and the nodes don't
                      > > > exist,
                      > > > > then
                      > > > > > > > things won't work as you want.
                      > > > > > > >
                      > > > > > > > Perhaps you could double-check and let us know?
                      > > > > > > >
                      > > > > > > > Regards,
                      > > > > > > >
                      > > > > > > > Mark
                      > > > > > > >
                      > > > > > > > On 01/08/06, tradocs_uk <johnstean@> wrote:
                      > > > > > > > >
                      > > > > > > > >
                      > > > > > > > >
                      > > > > > > > >
                      > > > > > > > >
                      > > > > > > > >
                      > > > > > > > >
                      > > > > > > > > Hi, just started using xforms - not sure if this is a
                      > > > formsplayer
                      > > > > > > > > issue, xforms issue, or ignorance on my part.
                      > > > > > > > >
                      > > > > > > > > I am validating against an xsd. here is a snippet...
                      > > > > > > > >
                      > > > > > > > > (the xsd)
                      > > > > > > > > ....
                      > > > > > > > > <xs:complexType name="MessageIdentification1">
                      > > > > > > > > <xs:sequence>
                      > > > > > > > > <xs:element name="Id"
                      > > > type="Max35Text"/>
                      > > > > > > > > <xs:element name="CreDtTm"
                      > > > type="ISODateTime"/>
                      > > > > > > > >
                      > > > > > > > > ...
                      > > > > > > > >
                      > > > > > > > > </xs:sequence>
                      > > > > > > > > </xs:complexType>
                      > > > > > > > > <xs:sequence>
                      > > > > > > > > <xs:element name="AckId"
                      > > > type="MessageIdentification1"/>
                      > > > > > > > > ...
                      > > > > > > > >
                      > > > > > > > > in the xform:
                      > > > > > > > >
                      > > > > > > > > validation works this way:
                      > > > > > > > >
                      > > > > > > > > ...
                      > > > > > > > > <xforms:label>Ack Id</xforms:label>
                      > > > > > > > > <xforms:input id="inpId"
                      > > > > > > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:Id">
                      > > > > > > > > <xforms:label>Id</xforms:label>
                      > > > > > > > > <xforms:alert>Give me an ID! - MAX 35
                      > > > > characters</xforms:alert>
                      > > > > > > > > </xforms:input>
                      > > > > > > > > <br />
                      > > > > > > > > <xforms:input id="inpCreDtTm"
                      > > > > > > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:CreDtTm">
                      > > > > > > > > <xforms:label>Cre Dt Tm</xforms:label>
                      > > > > > > > > <xforms:alert>NOT a valid date time
                      > > > is it?</xforms:alert>
                      > > > > > > > > </xforms:input>
                      > > > > > > > > ...
                      > > > > > > > >
                      > > > > > > > > but not when put in a group:
                      > > > > > > > >
                      > > > > > > > > ....
                      > > > > > > > > <xforms:group id="grpAckId"
                      > > > > > > > > ref="/Doc:Document/Doc:tsmt.001.001.01/Doc:AckId">
                      > > > > > > > > <xforms:label>Ack Id</xforms:label>
                      > > > > > > > > <xforms:input id="inpId" ref="Doc:Id">
                      > > > > > > > > <xforms:label>Id</xforms:label>
                      > > > > > > > > <xforms:alert>Give me an ID! - MAX 35
                      > > > > characters</xforms:alert>
                      > > > > > > > > </xforms:input>
                      > > > > > > > > <br />
                      > > > > > > > > <xforms:input id="inpCreDtTm"
                      ref="Doc:CreDtTm">
                      > > > > > > > > <xforms:label>Cre Dt Tm</xforms:label>
                      > > > > > > > > <xforms:alert>NOT a valid date time
                      > > > is it?</xforms:alert>
                      > > > > > > > > </xforms:input>
                      > > > > > > > > </xforms:group>
                      > > > > > > > > ...
                      > > > > > > > >
                      > > > > > > > > I have tried all variations on the xpath, including
                      adding
                      > > > > the full
                      > > > > > > > > path within the group. Nothing works.
                      > > > > > > > >
                      > > > > > > > > Can only get validation working by removing the group
                      > > > tags. I
                      > > > > have
                      > > > > > > > > used xformation to generate the form from the xsd.
                      > > > > > > > >
                      > > > > > > > > Many thanks to anyone who can suggest anything or offer
                      > > > any help.
                      > > > > > > > >
                      > > > > > > > > John.
                      > > > > > > > >
                      > > > > > > > >
                      > > > > > > >
                      > > > > > > >
                      > > > > > > >
                      > > > > > > > --
                      > > > > > > > Mark Birbeck
                      > > > > > > > CEO
                      > > > > > > > x-port.net Ltd.
                      > > > > > > >
                      > > > > > > > e: Mark.Birbeck@
                      > > > > > > > t: +44 (0) 20 7689 9232
                      > > > > > > > w: http://www.formsPlayer.com/
                      > > > > > > > b: http://internet-apps.blogspot.com/
                      > > > > > > >
                      > > > > > > > Download our XForms processor from
                      > > > > > > > http://www.formsPlayer.com/
                      > > > > > > >
                      > > > > > >
                      > > > > >
                      > > > >
                      > > >
                      > >
                      >
                    Your message has been successfully submitted and would be delivered to recipients shortly.