Re: Can root name in DOCTYPE be a XSD-validity thing?

On Mon, 2013-02-18 at 04:59 +0100, Leif Halvard Silli wrote:
> [...]
> 
> Right. And as such, it is a very flexible system since it allows any 
> element to serve as root. What about XSD in this regard? Perhaps XSD 
> ”hard codes” which elements can serve as root element?

Some implementations do so, people have told me, but not in an
interoperable way - either by a program-level API, or assuming the first
(or last) top-level/global element in the schema is the root.

It's been a while since I heard of people having problems with this
though, so maybe the implementations were all relaxed.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml

Received on Monday, 18 February 2013 04:33:40 UTC