I have a problem in defining a schema for my content type “taxonomy”, and precisely with the tag.
can contain free XML as follows (example1)
New Item mysimplecontentbut it can contain also a simple string as (example2)
New Item my simple contentand it can also contain a mixed content such as (example3)
New Item my simple contentI have tried declaring as a xs:string but it goes crazy when
it receives some unescaped < or > char,
I have also tried declaring as a subtype named “textareaType” which has the following schema
<xs:complexType name = “textareaType”>
<xs:sequence minOccurs = “0” maxOccurs = “unbounded”>
<xs:any processContents = “skip”></xs:any>
</xs:sequence>
<xs:anyAttribute processContents = “skip”></xs:anyAttribute>
</xs:complexType>
but again, it fails accepting contents that are not XML such as
example2 or example3
Is there any way to tell Tamino to accept anything under a certain tag?
Thank you in advance of your answers