Re: DOCTYPE (was Re: Announcement: SAX 1998-01-12 Draft)
At 09:58 13/01/98 -0800, W. Eliot Kimber wrote: > > [PeterMR] > How do we determine the TYPE of a document? There is no good >> mechanism. > >Not true. All that is necessary is to provide some way to point to a >separate definition of the type. The SGML architecture mechanism, >defined in ISO/IEC 10744:1997 and implemented in the SP parsers (as well >as in purpose-built code) provides just such a mechanism. In December, >James and I submitted for WG4 approval an enhancement to the formal >mechanism that lets it be used with XML documents. See >"http://www.ornl.gov/sgml/wg8/document/1957.htm". > >The idea is a simple one: you use a PI to associate a local name for the >"type" and then use a URL or public identifier to point to the >documentation and the DTD that defines the type. Thanks. I wasn't aware of this. We need something like it. It does, of course, rely on building a significant registry for FPIs. As far as I remember from previous discussions very FPIs are registered at present, and the mechanism is not widely known. If this mechanism is to become popular for XML - before the WWW gets swamped with untyped documents without meaningful FPIs - there needs to be a lot of effort to publicise and implement it. > >For example, ISOGEN has defined for its own use a base architecture from >which a variety of specific document types can be derived. I can invoke >the use of this architecture like so: > ><?XML 1.0 ?> ><?IS10744:arch > name="ISOBase" > public-id="+//IDN isogen.com//NOTATION ISOGEN Base Architecture//EN" > dtd-system-id="http://www.isogen.com/ISOBase/isobase.mdt" >?> As I understand it, these PIs are *permitted* in XML (any PI is permitted) but they are given no special importance and implementers are not required to support them. So XML - as it stands today - has no mechanism for requiring this to be implemented or interpreted. P. Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic net connection VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary http://www.venus.co.uk/vhg 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...)
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format