ebcore-comment

 View Only
  • 1.  problem with msg-header-2_0.xsd

    Posted 09-29-2020 14:45
      |   view attached
    Hello,

    When I try to validate the following xsd or use the XSD to validate an xml message I get an error.
    http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd

    --------------------
    The content model of complex type definition '{anonymous}' is ambigious.
    Error location: schema / element / complexType
    Details
    cos-nonambig: <:any namespace='##other'> makes the content model non-deterministic against <:element name='Reference'>. Possible causes: name equality, overlapping occurrence or substitution groups.

    Can you help?

    Thanks

    Joe


    [Beskrivning: logo_web]

    Joe Schmitz Switchboard: + 46 8 511 85 990
    Technical Project Manager Cell: + 46 (0)70 96 66 737
    Infosolutions Sverige AB e-mail: joe.schmitz@infosolutions.se<mailto:joe.schmitz@infosolutions.se>
    Kista Science Tower, plan E5 www.infosolutions.se<http: www.infosolutions.se/="">
    SE-164 51 KISTA
    Sweden


    </http:></mailto:joe.schmitz@infosolutions.se>


  • 2.  Re: [ebcore-comment] problem with msg-header-2_0.xsd

    Posted 09-30-2020 13:46
      |   view attached

    Hello,

    This is an old known problem, see e.g.
    http://lists.ebxml.org/archives/ebxml-dev/200810/threads.html#00007. The
    solution is to edit the definition of "Acknowledgment" to be like the
    following and it will be valid.  This is not a problem for
    interoperability as nobody is using these additional "##other"  elements.

    BTW 1,  the ebxml message TC has its own comment list
    ebxml-msg-comment@lists.oasis-open.org.  I send it there too.

    BTW 2,  nice to hear that the ancient v2 of ebMS is still finding new
    implementers.   We have had a newer version 3 and an AS4 profile also
    since quite a few years.

    Pim


        <element name="Acknowledgment">
            <complextype>
                <sequence>
                    <element ref="tns:Timestamp"></element>
                    <element ref="tns:RefToMessageId"></element>
                    <element ref="tns:From" minoccurs="0"></element>
                    <element ref="ds:Reference" minoccurs="0"></element>
    maxOccurs="unbounded"/>
    *                **
    *            </sequence>
                <attributegroup ref="tns:headerExtension.grp"></attributegroup>
                <attribute ref="soap:actor"></attribute>
            </complextype>
        </element>


    On 29-09-2020 16:45, Joe Schmitz wrote:
    >
    > Hello,
    >
    > When I try to validate the following xsd or use the XSD to validate an
    > xml message I get an error.
    >
    > http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd
    >
    > --------------------
    >
    > The content model of complex type definition '{anonymous}' is ambigious.
    >
    >                              Error location: schema / element /
    > complexType
    >
    >                              Details
    >
    > cos-nonambig: <:any namespace='##other'> makes the content model
    > non-deterministic against <:element name='Reference'>. Possible
    > causes: name equality, overlapping occurrence or substitution groups.
    >
    > Can you help?
    >
    > Thanks
    >
    > Joe
    >
    > Beskrivning: logo_web
    >
    > Joe Schmitz Switchboard: + 46 8 511 85 990
    >
    > Technical Project Manager                    Cell: + 46 (0)70 96 66 737
    >
    > Infosolutions Sverige
    > AB                                                                         e-mail:joe.schmitz@infosolutions.se
    > <mailto:joe.schmitz@infosolutions.se>
    >
    > Kista Science Tower, plan E5 www.infosolutions.se
    > <http: www.infosolutions.se/="">
    >
    > SE-164 51  KISTA
    >
    > Sweden
    >

    </http:></mailto:joe.schmitz@infosolutions.se>


  • 3.  Re: [ebcore-comment] problem with msg-header-2_0.xsd

    Posted 09-30-2020 13:46
      |   view attached

    Hello,

    This is an old known problem, see e.g.
    http://lists.ebxml.org/archives/ebxml-dev/200810/threads.html#00007. The
    solution is to edit the definition of "Acknowledgment" to be like the
    following and it will be valid.  This is not a problem for
    interoperability as nobody is using these additional "##other"  elements.

    BTW 1,  the ebxml message TC has its own comment list
    ebxml-msg-comment@lists.oasis-open.org.  I send it there too.

    BTW 2,  nice to hear that the ancient v2 of ebMS is still finding new
    implementers.   We have had a newer version 3 and an AS4 profile also
    since quite a few years.

    Pim


        <element name="Acknowledgment">
            <complextype>
                <sequence>
                    <element ref="tns:Timestamp"></element>
                    <element ref="tns:RefToMessageId"></element>
                    <element ref="tns:From" minoccurs="0"></element>
                    <element ref="ds:Reference" minoccurs="0"></element>
    maxOccurs="unbounded"/>
    *                **
    *            </sequence>
                <attributegroup ref="tns:headerExtension.grp"></attributegroup>
                <attribute ref="soap:actor"></attribute>
            </complextype>
        </element>


    On 29-09-2020 16:45, Joe Schmitz wrote:
    >
    > Hello,
    >
    > When I try to validate the following xsd or use the XSD to validate an
    > xml message I get an error.
    >
    > http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd
    >
    > --------------------
    >
    > The content model of complex type definition '{anonymous}' is ambigious.
    >
    >                              Error location: schema / element /
    > complexType
    >
    >                              Details
    >
    > cos-nonambig: <:any namespace='##other'> makes the content model
    > non-deterministic against <:element name='Reference'>. Possible
    > causes: name equality, overlapping occurrence or substitution groups.
    >
    > Can you help?
    >
    > Thanks
    >
    > Joe
    >
    > Beskrivning: logo_web
    >
    > Joe Schmitz Switchboard: + 46 8 511 85 990
    >
    > Technical Project Manager                    Cell: + 46 (0)70 96 66 737
    >
    > Infosolutions Sverige
    > AB                                                                         e-mail:joe.schmitz@infosolutions.se
    > <mailto:joe.schmitz@infosolutions.se>
    >
    > Kista Science Tower, plan E5 www.infosolutions.se
    > <http: www.infosolutions.se/="">
    >
    > SE-164 51  KISTA
    >
    > Sweden
    >

    </http:></mailto:joe.schmitz@infosolutions.se>


  • 4.  Sv: [ebcore-comment] problem with msg-header-2_0.xsd

    Posted 09-30-2020 14:06
      |   view attached
    Hello Pim,

    Thank you for the information. I'll be giving it a test soon.

    Best regards

    Joe

    Från: Pim van der Eijk <pvde@sonnenglanz.net>
    Skickat: September 30, 2020 15:46
    Till: ebcore-comment@lists.oasis-open.org; Joe Schmitz <joe.schmitz@infosolutions.se>; ebxml-msg-comment@lists.oasis-open.org
    Ämne: Re: [ebcore-comment] problem with msg-header-2_0.xsd




    Hello,

    This is an old known problem, see e.g. http://lists.ebxml.org/archives/ebxml-dev/200810/threads.html#00007. The solution is to edit the definition of "Acknowledgment" to be like the following and it will be valid. This is not a problem for interoperability as nobody is using these additional "##other" elements.

    BTW 1, the ebxml message TC has its own comment list ebxml-msg-comment@lists.oasis-open.org<mailto:ebxml-msg-comment@lists.oasis-open.org>. I send it there too.

    BTW 2, nice to hear that the ancient v2 of ebMS is still finding new implementers. We have had a newer version 3 and an AS4 profile also since quite a few years.

    Pim



    <element name="Acknowledgment">
    <complextype>
    <sequence>
    <element ref="tns:Timestamp"></element>
    <element ref="tns:RefToMessageId"></element>
    <element ref="tns:From" minoccurs="0"></element>
    <element ref="ds:Reference" minoccurs="0" maxoccurs="unbounded"></element>

    </sequence>
    <attributegroup ref="tns:headerExtension.grp"></attributegroup>
    <attribute ref="soap:actor"></attribute>
    </complextype>
    </element>


    On 29-09-2020 16:45, Joe Schmitz wrote:
    Hello,

    When I try to validate the following xsd or use the XSD to validate an xml message I get an error.
    http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd

    --------------------
    The content model of complex type definition '{anonymous}' is ambigious.
    Error location: schema / element / complexType
    Details
    cos-nonambig: <:any namespace='##other'> makes the content model non-deterministic against <:element name='Reference'>. Possible causes: name equality, overlapping occurrence or substitution groups.

    Can you help?

    Thanks

    Joe


    [Beskrivning: logo_web]

    Joe Schmitz Switchboard: + 46 8 511 85 990
    Technical Project Manager Cell: + 46 (0)70 96 66 737
    Infosolutions Sverige AB e-mail:joe.schmitz@infosolutions.se<mailto:joe.schmitz@infosolutions.se>
    Kista Science Tower, plan E5 www.infosolutions.se<http: www.infosolutions.se/="">
    SE-164 51 KISTA
    Sweden


    </http:></mailto:joe.schmitz@infosolutions.se></mailto:ebxml-msg-comment@lists.oasis-open.org></joe.schmitz@infosolutions.se></pvde@sonnenglanz.net>