[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
What kind of content is allowed in simple types & simple content?
- To: xml dev <xml-dev@...>
- Subject: What kind of content is allowed in simple types & simple content?
- From: Soren Kuula <dongfang@...>
- Date: Sat, 10 Dec 2005 22:03:55 +0000
- User-agent: Mozilla Thunderbird (X11/20050322)
Hi,
If an XML element is declared as simpleType of with simpleContent in XML
Schema, is it then valid even with nested comments and processing
instrtuctions?
Like:
<element name="foo">
<simpleType>
<restriction base="string">
<enumeration value="Du bist Schuld, nicht die Kanone!"/>
</restriction>
</simpleType>
</element>
<foo>Du bist Schuld<!--stupid comment-->, nicht<?foo bar?> die Kanone!</foo>
Soren
|