[
Lists Home |
Date Index |
Thread Index
]
- From: "Simon St.Laurent" <SimonStL@classic.msn.com>
- To: "Xml-Dev (E-mail)" <xml-dev@ic.ac.uk>
- Date: Tue, 2 Jun 98 17:16:26 UT
We'll start the XSchema document syntax discussion at the top, with the root
element. Hopefully this piece will be a nice appetizer and we can proceed to
its subelements and attributes, the main course.
>From the Goals:
--------------------
1. XSchema documents shall use XML document syntax, using element nesting and
attributes to describe all constraints that may be verified by a processor
using XSchema.
--------------------
In XML documents, per 2.1 of the XML specification:
--------------------
There is exactly one element, called the root, or document element, no part of
which appears in the content of any other element.
--------------------
XSchema documents, in order to be XML documents, must have a single root
element, which may be preceded by the prolog, PIs, and perhaps comments and
XML 1.0 DTD information.
An XSchema document might begin:
<?xml version='1.0' ?>
<?xml:namespace ns='http://tobedetermined.com' prefix='XSC' ?>
<XSC:XSchema>
...
</XSC:XSchema>
Do we want to provide additional information in this root element regarding
XSchema version, for instance?
We could add "version='0.1'" or something.
Given that we're discussing verifying fragments, it's mildly ironic to be
requiring a root element. Any concerns on that issue?
Most important, am I forgetting anything critical?
Simon St.Laurent
Dynamic HTML: A Primer / XML: A Primer / Cookies
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|