OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   What kind of content is allowed in simple types & simple content?

[ Lists Home | Date Index | Thread Index ]
  • To: xml dev <xml-dev@lists.xml.org>
  • Subject: What kind of content is allowed in simple types & simple content?
  • From: Soren Kuula <dongfang@dongfang.dk>
  • 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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS