views:

216

answers:

1

I have an XSD with an any-element (<xs:any/>)

When I create an instance of this XSD and place a CDATA section in it, I get validation errors.

I also tried with attributes like:

minOccurs="0" maxOccurs="unbounded" processContents="skip"

I use XmlSpy for schema validation.

A: 

I already fixed it. I forgot to place an element around the CDATA section!

Patrick Peters