[
Lists Home |
Date Index |
Thread Index
]
Also consider derived types and substitution groups. A document may conform
to schema with targetNamespace A and yet contain elements and types not
mentioned in A or anything it imports, if it also conforms to schema B which
imports A and derives types from A's types and/or provides elements that
substitute for A's elements.
Jeff
----- Original Message -----
From: "Klotz, Leigh" <Leigh.Klotz@pahv.xerox.com>
To: <Patrick.Garvey@talaris.com>; "Klotz, Leigh"
<Leigh.Klotz@pahv.xerox.com>; <cameron@shorter.net>; <xml-dev@lists.xml.org>
Sent: Friday, August 08, 2003 3:50 PM
Subject: RE: [xml-dev] Looking for a schema->html form XSL transform
...
> But I believe that in the general
> case, an XML Schema cannot be used to generate a unique prototype document
> that can be edited just by filling in simple element content and
attributes.
> If the user agent is allowed to alter the structure of the document (i.e.,
> by y adding elements and attributes where none were generated from the
> transformation on the Schema), then that begs the question of whether the
> document is indeed generated from the Schema, since the user is in this
case
> generating the document.
>
> Here are two examples of Schemas that do not have enough information ...
|