Re: [xml-dev] Brain Teaser: Element Author is of type xsd:string, what's an illegal value of Author?

From
Brendan <>
To
Date
2007-02-09T18:30:18Z
ID
<>
Thread
Re: [xml-dev] Brain Teaser: Element Author is of type xsd:string, what's an illegal value of Author?
What about
   <Author> <tag/> </Author>
Isn't an element a non-string value, and therefore illegal?


Brendan Macmillan


<xsd:element name="Author" type="xsd:string" />

<?xml version="1.0"?>
<Book>
        <Author>...</Author>
</Book>

Question: what is an invalid (non-string) value for <Author>?