|
[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Schema embedded in an XML document
From: C. M. Sperberg-McQueen <cmsmcq@blackmesatech.com>
Date: Wed, 22 Apr 2009 11:32:00 -0600 Cc: "C. M. Sperberg-McQueen" <cmsmcq@blackmesatech.com>, <xmlschema-dev@w3.org> Message-Id: <44227AC9-6F26-45CC-A332-18EA29D76498@blackmesatech.com> To: Rowan Bradley <rowan.bradley@herbertgroup.com> On 22 Apr 2009, at 08:38 , Rowan Bradley wrote: > Is it possible to incorporate the schema in a single file along with > the XML content thats meant to conform to the schema? Im thinking > of something rather like HTML files that can incorporate embedded > CSS styles, or the CSS files can be extracted into a separate CSS > file. > Thanks - Rowan Yes, in principle. In practice, different validators make different assumptions about what such an arrangement should look like, so it's hard to produce an instance+schema package that will work with all (or even more than one) validator. There was interest at one time in performing a survey of current practice and publishing a Note to document it, but there was also resistance to this idea, so it has not happened. I hope this helps. -- **************************************************************** * C. M. Sperberg-McQueen, Black Mesa Technologies LLC * http://www.blackmesatech.com * http://cmsmcq.com/mib * http://balisage.net ****************************************************************Received on Wednesday, 22 April 2009 17:32:40 GMT |
Subscribe in XML format
|






