[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Proposal for src files

  • From: "W. Eliot Kimber" <eliot@i...>
  • To: xml-dev@i...
  • Date: Wed, 01 Apr 1998 12:20:58 -0600

Re: Proposal for src files
At 09:22 AM 4/1/98, Peter Murray-Rust wrote:
><PROPOSAL>
>Is it possible to combine these two so that we express a DTD in a standard
>XML notation? 

Technical note: at the recent NCITS (nee ANSI) meeting, the U.S. delegation
to WG4 developed a proposed ammendment to the SGML standard that codifies
the idea of DOCTYPE declaration components that are not in DTD syntax.

The idea is very simple: allow "parameter data entities", e.g.:

<!NOTATION MySchemaLanguage 
  PUBLIC "-//ME//NOTATION My Schema Language//EN" 
>
<!ENTITY % my-declarations 
  SYSTEM "mydecl.schema" 
  NDATA MySchemaLanguage 
>
%my-declarations;

The only requirement is that the document allow omitted DTD declarations.
If the parser understands the notation of the parameter data entity, it can
use it to do SGML validation to the degree it can construct the prolog
portion of the document grove from the entity. If it doesn't understand the
notation then the normal implied declaration rules apply.  Any validation
services over and above SGML validation must be clearly labeled as such
(i.e., consistent with SGML's current distinction between validation errors
and application warnings).

Because the external DTD subset is really a parameter entity, you can make
the whole external subset a parameter data entity:

<!DOCTYPE MyDoc SYSTEM "myschema.schema" NDATA MySchemaLanguage [
  <!NOTATION MySchemaLanguage 
    PUBLIC "-//ME//NOTATION My Schema Language//EN"  
  >
]>
<MyDoc>
 ...
</MyDoc>

Note that the internal subset is unchanged: you must use normal DTD syntax
within the DTD subset.

If approved by ISO, this ammendment would make SGML's official policy on
schemas "use any syntax you want, we don't care". In particular, we have no
plans or desire to define alternative syntaxes for DTD representation
within ISO 8879.  This does not, of course, preclude separate schema
standardization efforts within NCITS or ISO (or anywhere else).

So far this proposal seems to be non-controversial. 

The 
--
<Address HyTime=bibloc>
W. Eliot Kimber, Senior Consulting SGML Engineer
Highland Consulting, a division of ISOGEN International Corp.
2200 N. Lamar St., Suite 230, Dallas, TX 95202.  214.953.0004
www.isogen.com
</Address>

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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.