Lists Home |
Date Index |
- From: "Simon St.Laurent" <SimonStL@classic.msn.com>
- To: "Xml-Dev (E-mail)" <firstname.lastname@example.org>
- Date: Tue, 9 Jun 98 14:14:57 UT
Rick Jelliffe wrote:
>Almost all DTDs, or fragments which can stand by themselves as
>reuseable components, end up with a similar stucture which allows
>metadata headers, the actual body, and a section for annotations
>and floating elements.
and proposed: (cleaned up for my namespace error)
> <!ELEMENT XSC:XSchema (XSC:head?, XSC:body, HTML:body?)>
> <!ELEMENT XSC:Body
> ( XSC:Doc?, (XSC:ElementDecl | XSC:Entity | XSC:Notation |
> XSC:Namespace | XSC:XSchema)*)>
***The full text of his DTD proposal is at the bottom of this message.***
I'm not completely opposed to this suggestion, though it does seem to add
another layer of elements. What this raises for me is what information needs
to be supported by these top level XSchema elements. Our Doc element, John's
DTD, refers to a %horiz.model entity that isn't declared.
Currently I've suggested that the XSchema element use the following attribute
> XSC:Version CDATA #FIXED "1.0"
> XSC:MimeType CDATA "application/xml"
> XSC:FileExtension CDATA "xml">
Version, MIME, and File Extension are all very well, but what do we do for an
XSchema title? Wouldn't it seem useful to provide human-readable titles or
other information, much as the headers in Rick's proposal do?
We could use the XSC:Doc element to provide this additional header information
as well. Suggestions?
Dynamic HTML: A Primer / XML: A Primer / Cookies
Full proposal from Rick:
<!-- ===================================================== -->
<!-- An XSchema has a top-level structure sinmilar to HTML -->
<!ELEMENT XSC:XSchema (XSC:head?, XSC:body, HTML:body?)>
XSC:Version CDATA #FIXED "1.0" >
<!-- Multiple title for i18n. Multiple meta for information
such as file extension and MIME types -->
<!ELEMENT HTML:head (HTML:title*, HTML:meta*)>
<!ELEMENT HTML:title ( #PCDATA )>
XML:lang CDATA "en-US" ><!-- i.e. this is the default -->
http-equiv NMTOKEN #IMPLIED
name NMTOKEN #IMPLIED
content CDATA #REQUIRED
XML:lang CDATA "en-US" >
xml-dev: A list for W3C XML Developers. To post, mailto:email@example.com
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:firstname.lastname@example.org the following message;
To subscribe to the digests, mailto:email@example.com the following message;
List coordinator, Henry Rzepa (mailto:firstname.lastname@example.org)