- From: Tom Moog <tmoog@sarvega.com>
- Date: Wed, 03 Jul 2002 13:53:52 -0500
- CC: xmlschema-dev@w3.org
Hello, Suppose a type t is based on a restriction of anyType (see below). Although anyType has mixedContent true, this is not inherited, so type t does not allow mixed content. Now consider the following instance document with element e of type t. There is a newline and several spaces between <e> and </e>. Is this legal because it is ignorable white space or illegal because it is not ignorable white space ? The instance document: <e> </e> The schema: <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" > <xs:complexType name="t"> <xs:complexContent> <xs:restriction base="xs:anyType"> </xs:restriction> </xs:complexContent> </xs:complexType> <xs:element name="e" type="t" /> </xs:schema> Tom Moog Sarvega, Inc.
Received on Wednesday, 3 July 2002 14:53:54 UTC