- From: Rick Jelliffe <ricko@allette.com.au>
- Date: Mon, 23 Jun 1997 17:09:55 +1000
- To: <w3c-sgml-wg@w3.org>, "Tim Bray" <tbray@textuality.com>
- Cc: <ricko@allette.com.au>
> MCF is Meta Content Framework, an application of XML proposed by > Netscape. The drafts have been heavily reworked based on early feedback, > check the spec out at: > > http://www.textuality.com/mcf/NOTE-MCF-XML.html It is funny (perverse?) to see someone trying to define a structure language without the help of a structure language, when one is available :-) But I guess it is a sign of draftiness rather than daftness. Here is an stab at the MCF schema description language using WebSGML. ":" must be NMCHAR character. Try doing this without parameter entities Rick Jelliffe <!-- ========================================== --> <!-- W3C Metadata Content Format (draft only) --> <!-- SCHEMA DEFINITION LANGUAGE --> <!-- editors: R.V. Guha, Tim Bray --> <!-- (prep: Rick Jelliffe from draft W3C documentation) --> <!-- ========================================== --> <!-- Example of good WebSGML headers for this DTD: <?XML version="1.0x" rmd="internal" ?> <!SGML public "IDN//W3C.ORG//SD XML 1.0//EN"> <!DOCTYPE #implied public "IDN//W3C//DTD MCF 1.0//EN" SEEALSO public "ISO 8879//NOTATION Application Requirements for XML//EN" system "http://www.textuality.com/mcf/NOTE-MCF-XML.html" [ <!EOR> ]> --> <!-- =========================================== --> <!-- Entity declarations used in this DTD: they are like macros --> <!-- =========================================== --> <!ENTITY % java-primitive-data-types SYSTEM ><!-- err dunno --> <!ENTITY % w3c-mcf-pimitive-data-types " date | %java-primitive-data-types; "> <!ENTITY % w3c-mcf-categories " Content | CurrentContainer | Subject | WebSite | Page | Agent | Organisation | Person | TableOfContents| NaturalLanguage | Schedule "> <!ENTITY % w3c-mcf-contents-stuff " authorIndividual | authorOrganisation | author | editor | publisher | contactAgent | copyright | size | loadsize | publicationDate| lastRevisionDate | expires | contentUpdataSchedule | versionNumber | contentDownloadSchedule | nextUpdateTme | nextDownloadTime | subject | language | toc | siteHomePage | helpPage | linksTo | includesContent | contentMimeType | contentPartMimeTypes | superTopic | objectIcon | location | contentMirror | contentAvailabilityStatus | accessMode | contentRating | contentCost "> <!ENTITY % w3c-mcf-agent-stuff " emailAddress | homePage | contactInformation "> <!ENTITY % w3c-mcf-schedule-stuff " scheduleStartDate | scheduleEndDate | scheduleIntervalTime | scheduleEarliestTime "> <!ENTITY % w3c-mcf-bookstrap-units " typeOf | Category | Unit | name | parent | domain | name | range | Sequence | superType | PropertyType | functionalPropertyType | superPropertyType | mutuallyDisjoint | inherits | ord | Property " > <!ENTITY % w3c-mcf-all " %w3c-mcf-contents-stuff; | %w3c-mcf-agent-stuff; | %w3c-mcf-schedule-stuff; | %w3c-mcf-bootstrap-units; " | %w3c-mcf-primitive-data-types; " > <!-- =========================================== --> <!-- Declarations for the elements and attributes defined by MCF --> <!-- =========================================== --> <!ELEMENT xml-mcf ANY > <!ELEMENT mcf-ref EMPTY> <!ATTLIST mcf-ref XML-LINK "SIMPLE" #FIXED ROLE "XML-MCF-BLOCK" #FIXED HREF CDATA #REQUIRED > <!ELEMENT ( %w3c-mcf-categories; ) ANY > <!ATTLIST ( %w3c-mcf-categories; ) id ID #IMPLIED> <!ELEMENT ( %w3c-mcf-all; ) ANY > <!ATTLIST ( %w3c-mcf-all; ) unit IDREF #IMPLIED inverse (true | false ) false> <!-- additional attribute for element type "inherits" --> <!ATTLIST inherits propertytype CDATA #REQUIRED> <!-- =================================== EOF ====== -->
Received on Monday, 23 June 1997 03:10:22 UTC