any processContents= "skip " 2003-01-16 - By Evaristo-Jose Camarero (ECE)
Hi Sandy:
Yes I have tried with the Xerces 2.2.1 and appears the same error.
The xsd file is attached bellow, and an xml document is attached below too.
Regards,
Evaristo Ericsson R&D
> -----Original Message----- > From: sandygao@(protected) [mailto:sandygao@(protected)] > Sent: Thursday, January 16, 2003 4:46 PM > To: xerces-j-user@(protected) > Cc: 'xerces-j-user@(protected)' > Subject: Re: any processContents="skip" > > > Could you download the latest version of Xerces (2.2.1) and > see whether > that works? If it still gives you the error, please attach > your xml/xsd > files that can reproduce your problem. > > Cheers, > Sandy Gao > Software Developer, IBM Canada > (1-905) 413-3255 > sandygao@(protected) > > > > > > > "Evaristo-Jose Camarero > > > (ECE)" > To: "'xerces-j-user@(protected)'" > <xerces-j-user@(protected)> > <Evaristo-Jose.Camarero@(protected) > cc: > > ricsson.se> > Subject: any processContents="skip" > > > > > 01/16/2003 09:27 AM > > > Please respond to > > > xerces-j-user > > > > > > > > > > > > > Hi all: > > I'm using Xerces 2.0.2, with validating feature on against > and xsd file. > > That xsd file has a complexType: > > </complexType> > <complexType name="ResponseEnvelopeType"> > <sequence> > <any > processContents="skip" minOccurs > ="0" maxOccurs="unbounded"/> > </sequence> > </complexType> > > and this is origin of a parser error, when I try to parse a document. > > The error is the following: > > Exception in thread "main" org.xml.sax.SAXParseException: > cvc-complex-type.2.4.b: The content of element > 'AuthnRequestEnvelope' is > not complete. It must match '(((WC[##any]){0-UNBOUNDED}),((" > http://projectliberty.org/schemas/core/2002/12":AuthnRequest),(" > http://projectliberty.org/schemas/core/2002/12":ProviderID),(" > http://projectliberty.org/schemas/core/2002/12":ProviderName){0-1},(" > http://projectliberty.org/schemas/core/2002/12 > ":AssertionConsumerServiceURL),(" > http://projectliberty.org/schemas/core/2002/12":IDPList){0-1},(" > http://projectliberty.org/schemas/core/2002/12":IsPassive){0-1}))'. > > The bold part is related with the error. > > Can anybody help me? Do you know if Xerces has any limitation > to produce > this error? > > Regards, > > Evaristo José Camarero del Río > Systems Engineer > UMTS/GSM Systems Management > > > Ericsson España, S.A. Phone: > +34 91 339 > 4200 > > Ombú, 3 Fax: > +34 91 339 2538 > > 28045 Madrid, Spain E-mail: > evaristo-jose.camarero@(protected) > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) > For additional commands, e-mail: xerces-j-user-help@(protected) > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) > For additional commands, e-mail: xerces-j-user-help@(protected) >
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|