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

Notations

  • From: John Cowan <cowan@l...>
  • To: XML Dev <xml-dev@i...>
  • Date: Thu, 25 Jun 1998 15:36:54 -0400

cite notations
Simon St.Laurent wrote:

> 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.

HREF is an abbreviation for hyper-reference, and to me only suggests
that the attribute value is an URI, not what it is for.  So I say keep it.
 
> 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.

Perhaps there should be a convention mapping MIME types onto XML
notation names.  Of course, the "/" in MIME types isn't an XML
name character, so it would have to be mapped into something else.

Unfortunately, there is just one ASCII character not already permitted
in MIME types that is allowed in XML names.  Colon.  Which is
gonna be used for something else.  @*#$.

If all documents were in UTF-8, that wouldn't be a problem: choose
a non-ASCII name character.  But they aren't, and NCRs aren't
allowed in names.  Lose, lose.

> But hey, I could start using my ISBNs - or are those the
> property of my publisher?  Hmmm.  Time to read the contracts.

AFAIK using an ISBN -- and, a fortiori, the urn:isbn:* URIspace,
is open to anyone.  (It's not even very hard to get your own
portion of the ISBN space if you publish your own books.)
After all, people cite books by ISBN, and a hyperlink is just another
kind of citation.

> 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.

Confusing way to put it.  Notations may include a pubid or a sysid
or both in that order.  The formal content model is phrased the way
it is -- Ron's draft used

        (PubidLiteral | SystemLiteral | (PubidLiteral, SystemLiteral))

-- just to avoid SGML ambiguity.

My original draft used attributes directly on the
Notation element here, and left it #IMPLIED (:-)) that a Notation
element with neither pubid nor sysid was bogus.

I'd like to put it back that way for simplicity's sake. The above
mechanism (Ron's) is correct but over-complicated, IMHO.

-- 
John Cowan	http://www.ccil.org/~cowan		cowan@c...
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

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.