[Home] [By Thread] [By Date] [Recent Entries]

  • From: David LeBlanc <whisper@a...>
  • To: "Rick Jelliffe" <ricko@a...>, <xml-dev@i...>
  • Date: Mon, 18 Jan 1999 19:10:02 -0800

After perusing comp.text.xml, I was reminded that xml is a proper subset of
sgml and thus whence came dtds etc. I guess it would be hard to do away
entirely with dtds and retain that relationship.

My question was originally prompted by a desire to make provision in (ok,
yet another) xml parser (in C++) i'm starting work on for future
developments wrt dcd/schema etc. Maybe I can make the dtd parser pluggable.

Seems to me that the below idea of something complementing dtds rather then
replacing them is a good one.

Sincerely,

Dave LeBlanc

At 01:42 PM 1/19/99 +1100, Rick Jelliffe wrote:
>
>From: Steven R. Newcomb <srn@t...>
>
>>The important thing is to go forward, and to avoid going backward,
>>with respect to the set of semantics that are expressible using DTDs.
>
>Personally, I don't think that compatability with what DTDs can model
>should be any constraint on a schema language, at least as far as
>element
>content models.
>
>The current content model syntax is
>    * terse
>    * easy to read and write
>    * functional for a wide class of documents
>    * standard and well-understood
>    * part of XML
>    * fragment-friendly (SGML's global inclusions and exclusions
>have been removed)
>
>I would much prefer the schema system to assume to existance of a
>DTD, and provide the missing parts. For example,
>    1) a set of data types for attributes and elements
>    2) use XSL patterns to assert that if one pattern is found,
>then another pattern must exist.
>
>The second in particular gets us out of the content-model approach
>and into a "partial validation" approach which is more in tune with
>namespaces.
>
>Rick Jelliffe
>ricko@g...


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...)


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member