OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

ebxml-msg-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

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


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. 


    <element name="Acknowledgment">
                <element ref="tns:Timestamp"/>
                <element ref="tns:RefToMessageId"/>
                <element ref="tns:From" minOccurs="0"/>
                <element ref="ds:Reference" minOccurs="0" maxOccurs="unbounded"/>
                <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
            <attributeGroup ref="tns:headerExtension.grp"/>
            <attribute ref="soap:actor"/>

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



When I try to validate the following xsd or use the XSD to validate an xml message I get an error.




The content model of complex type definition '{anonymous}' is ambigious.

                             Error location: schema / element / complexType


                                                          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?







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

Kista Science Tower, plan E5                                                                 www.infosolutions.se

SE-164 51  KISTA



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]