[Home] [By Thread] [By Date] [Recent Entries]

  • From: Peter Flynn <peter@s...>
  • To: xml-dev@l...
  • Date: Thu, 21 Jun 2001 22:26:04 +0100

On Thu, 21 Jun 2001, Dylan Walsh wrote:

> Does this mean that it is impossible to write a XML Schema where this
> document would *not* be valid:
> 
> <?xml version="1.0" ?>
> <b>
> 	<c />
> </b>

Actually that is always valid[atable] as it satisfies the
constraint that there is a root element. You need to ask the
same question of

<b><c/></b><b><c/></b>...[repeated]

This whole things smacks of Real Programmers...RP don't use
Schemas, RP code DTDs with Architectures and HyTime :-)

///Peter

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member