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


Help: OASIS Mailing Lists Help | MarkMail Help

ebxml-msg message

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

Subject: [ebxml-msg] RE: [ebxml-dev] ebxml message Validation Error

Hi Jeong,

Incidentally, there seems to be a workaround for the exception
you are seeing, at least under xerces 2.0.2 (only thing I tried).
Consider these features:

    /** Default namespaces support (true). */
    protected static final boolean DEFAULT_NAMESPACES = true;

    /** Default validation support (false). */
    protected static final boolean DEFAULT_VALIDATION = true;

    /** Default Schema validation support (false). */
    protected static final boolean DEFAULT_SCHEMA_VALIDATION = true;

    /** you can have the above features set if you need them...**/

    /** Default Schema full checking support (false). */
    protected static final boolean DEFAULT_SCHEMA_FULL_CHECKING = false;

The last feature controls whether a check is made 
on "unique attribution constraints". The doc says:
"Enable full schema constraint checking, including checking 
which may be time-consuming or memory intensive. Currently, 
particle unique attribution constraint checking and 
particle derivation resriction checking are controlled
by this option."

With the option, on I was able to reproduce your
error with a message containing an acknowledgment.
With the full-checking option false, the error goes away.

I will copy the Messaging list. Eventually
a schema change or errata warning may be warranted.

-----Original Message-----
From: Jeong Ahn Lee [mailto:jeongahn2001@yahoo.com]
Sent: Monday, July 01, 2002 3:06 AM
To: ebxml-dev@lists.ebxml.org
Subject: [ebxml-dev] ebxml message Validation Error

Hi all, 
i am having a problem in validating the ebXML v2.0
message aganist a schema.
it throws the exception like below.

Error:  org.xml.sax.SAXParseException: cos-nonambig: 
{0-UNBOUNDED} (or elements from their substitution
group) violate "Unique Particle Attribution".

i am sorry, if this is not the correct mailing list
for this type of question.
but i think it is something to do with the XSD

please help in solving this

Jeong Ahn

Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup

The ebxml-dev list is sponsored by OASIS.
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.ebxml.org/ob/adm.pl>

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

Powered by eList eXpress LLC