Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

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


  • From: Brendan <melbourne.research@...>
  • To: xml-dev@...
  • Date: Sat, 10 Feb 2007 05:30:18 +1100

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>?



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor