CodeDigger
Programmer
I have a <Any> element in my Schema to catch any type of content -
<xs:element minOccurs="0" maxOccurs="unbounded" name="MixedDescription">
<xs:complexType mixed="true">
<xs:sequence>
<xs:any processContents="skip" />
</xs:sequence>
</xs:complexType>
</xs:element>
But it does not catch entities like this – -
<MixedDescription>....some content – ... content continues</MixedDescription>
XmlSpy, Stylus Studio and Visual Studio all point out that this is an undeclared charater entity.
I came across this idea to implement entites as elments -
but there are a LOT of characters to replace which are possible Xml Character entities, so this is not a practical solution.
What wrapping values with CDATA clause works, but how to declare that in a Biztalk schema? How to instruct Biztalk that one node is a CDATA node and ignore its contents?
<xs:element minOccurs="0" maxOccurs="unbounded" name="MixedDescription">
<xs:complexType mixed="true">
<xs:sequence>
<xs:any processContents="skip" />
</xs:sequence>
</xs:complexType>
</xs:element>
But it does not catch entities like this – -
<MixedDescription>....some content – ... content continues</MixedDescription>
XmlSpy, Stylus Studio and Visual Studio all point out that this is an undeclared charater entity.
I came across this idea to implement entites as elments -
but there are a LOT of characters to replace which are possible Xml Character entities, so this is not a practical solution.
What wrapping values with CDATA clause works, but how to declare that in a Biztalk schema? How to instruct Biztalk that one node is a CDATA node and ignore its contents?