You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by "Evaristo-Jose Camarero (ECE)" <Ev...@ece.ericsson.se> on 2003/01/16 15:27:06 UTC

any processContents="skip"

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@ece.ericsson.se
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org