|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSchema: root element
Michael Kay wrote:
> I would certainly like to be able to declare in a DTD that
> certain elements are valid roots and others are not.
> Assuming there is technology to validate a document against
> an XSchema, it moves one more validity check out of my
> application and into the schema.
>
> In the DTDs I have written, very few of the element types
> (often just one) are valid roots, so my own choice of
> default would be INVALID.
Not me - conversion work of legacy data routinely involves pulling documents to
pieces, working on a fragment (such as a table) then putting it all back
together. A language such as OmniMark will allow you to find fragments without
parsing the data around it - under those circumstances, what is proposed is
unduly restrictive.
--
Regards
Marcus Carr email: mrc@a...
_______________________________________________________________
Allette Systems (Australia) email: info@a...
Level 10, 91 York Street www: http://www.allette.com.au
Sydney 2000 NSW Australia phone: +61 2 9262 4777
fax: +61 2 9262 4774
_______________________________________________________________
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








