Re: words (RE: extensibility in XSchema?)

John Cowan (cowan@locke.ccil.org)
Thu, 25 Jun 1998 15:15:19 -0400


Rick Jelliffe wrote:

> So here is a better attempt:
> <!ENTITY xxx "xxx.jar#xxx">

I assume this means

<!NOTATION XML SYSTEM "http://www.x3.org/XML/etc/etc/">
<!ENTITY xxx SYSTEM "xxx.jar#xxx" NDATA XML>

Strictly speaking, the notation "XML" need not be declared unless
validating.

> In this case the external, unparsed entity would be a code
> fragment. So "object" has an attribute which names
> an entity which is declared as being the resource which
> is a fragment of that java archive. (I wouldn't have to use
> fragment identifiers, I could have one PI per external file.)

Actually, fragment identifiers aren't guaranteed to work: an
XML processor is free to reject entity sysids that involve them.
(I think this is because the end of the referenced fragment is
not well-specified.)

> I suppose an alternative leaves using an XLink href attribute to
> point to a PI given previously in the document (if XPtr ends
> up being able to locate PIs), though. But that is not XML.

XPointers can locate PIs in the current draft.

-- 
John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	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)