XHTML & Schemas

David Megginson david at megginson.com
Thu Sep 2 22:48:50 BST 1999


Paul Prescod writes:

 > Do you agree that it will be vital to be able to declare whether an
 > element was meant to validate against the "strict" or "loose"
 > schema (if indeed there are both)?

I'm less certain about that -- I'm still trying to decide whether the
document or the application should decide what schema to apply.

With SGML, in *theory* it was the document that made the declaration,
but in practice, it was usually the application, at least for
non-trivial production systems: the systems mostly keep track of the
status of the document through the production chain and swap entity
catalogues or activate parameter entities to get the correct DTD
flavour at each stage.

I know that it's the wrong thing to have the document point to its
stylesheet, and right now, I'm leaning towards considering a schema as 
a specialized stylesheet (or a stylesheet as a kind of schema).


All the best,


David

-- 
David Megginson                 david at megginson.com
           http://www.megginson.com/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list