XSchema Spec Section 2.5, Draft 1

Simon St.Laurent SimonStL at classic.msn.com
Wed Jun 24 22:45:02 BST 1998


This is a completely minimalist section on notations.  To be honest, I'm not 
sure it even makes sense to include them since we're not doing entities in 
XSchema, but we still have support for notation (and entity) types in 
attributes, so what the heck.  

I'm sure someone out there will have a good example for this one.  (If someone 
would like to adopt this section, even better.)  This will work; it's just not 
nearly up to the high standards I'd like to maintain throughout the 
specification.

I'm also not completely sure about the use of href in the system identifier. 
Is it appropriate?  If it refers to a helper application, it seems like a bad 
idea.

If ever there was a neighborhood in XML I hoped to avoid visiting, it's this 
one.  I'm one of those strange people who actually _likes_ MIME types and 
HTTP's odd habit of identifying the content it delivers and expecting 
applications to cope. But hey, I could start using my ISBNs - or are those the 
property of my publisher?  Hmmm.  Time to read the contracts.

On to namespaces...

Simon St.Laurent
Dynamic HTML: A Primer / XML: A Primer / Cookies

2.5 Notation Declarations

Notation declarations are made with XSC:Notation elements nested in the 
XSC:XSchema element.

<!ELEMENT XSC:Notation (Doc?, ((PubidLiteral, SystemLiteral?) | 
SystemLiteral))>
<!ATTLIST XSC:Notation 
      name NMTOKEN #REQUIRED>
<!ELEMENT XSC:PubidLiteral EMPTY>
<!ATTLIST XSC:PubidLiteral
	Pubid CDATA #REQUIRED>
<!ELEMENT XSC:SystemLiteral EMPTY>
<!ATTLIST XSC:Systemliteral
	href CDATA #REQUIRED>

Notations may include either a Public Identifier and an optional system 
literal, or just a system literal.


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list