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

Re: XSD: Proposed Goals, Rev. 2

  • From: Peter Murray-Rust <peter@u...>
  • To: "Xml-Dev (E-mail)" <xml-dev@i...>
  • Date: Wed, 27 May 1998 21:48:39

xml primitive arrays content
At 14:17 27/05/98 UT, Simon St.Laurent wrote:
>
>1. SDDs shall use XML document syntax, using element nesting and
attributes to 
>describe all constraints that may be verified by a processor using XSD.
>
In case it helps give an idea of the level that I am aiming at, here is
what I use in JUMBO1 for 'DTD' management:

<?xml version="1.0"?>
<CML>
  <ELEMENT NAME="ARRAY">
    <CONTENT>(#PCDATA)</CONTENT>
    <ATTLIST TITLE="BUILTIN">
      <NAME>BUILTIN</NAME>
      <TYPE>CDATA</TYPE>
      <DEFAULT>#IMPLIED</DEFAULT>
      <HTML TITLE="HELP">
<P>
BUILTIN is a generic attribute for defining the semantics of
an ARRAY or XVAR element. More later.
</P>
      </HTML>
    </ATTLIST>
    <ATTLIST TITLE="TYPE">
      <NAME>TYPE</NAME>
      <TYPE>CDATA</TYPE>
      <DEFAULT>#IMPLIED</DEFAULT>
      <HTML TITLE="HELP">
<P>
TYPE is the data type of the Item (e.g. INTEGER);
</P>
      </HTML>
    </ATTLIST>
    <HTML TITLE="HELP">
<P>
ARRAY (DXN):                   (superclass DrawableX_Node)
</P>
<P>
A container for a simple homogenous list of primitive objects (STRING, FLOAT,
DATE, URL, etc).  ARRAYs have BUILTINs associated with them in both TecML
and CML.
</P>
<!-- ... deleted ... -->
    </HTML>
  </ELEMENT>
</CML>

This was pre-namespaces... and also was not verifiable (although there
*was* a DTD somewhere for this syntax I didn't use it :-). Also at that
stage I simply put in the ASCII content spec whereas later I parsed the
spec and included it as a subtree.

I would now suggest that the elementType names were taken directly from the
spec, etc.

	HTH

	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!

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.