Re: Can root name in DOCTYPE be a XSD-validity thing?
Liam R E Quin <[email protected]> Sun, 17 Feb 2013 23:33:32 -0500
| Newsgroups | gmane.text.xml.schema.devel |
|---|---|
| Organization | W3C - World Wide Web Consortium |
| Message-ID | <[email protected]> |
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