PITarget uniqueness

John Cowan cowan at locke.ccil.org
Fri Apr 9 21:32:39 BST 1999


James Tauber wrote:
> PI targets can be associated with a URI using the NOTATION mechanism. This
> is so much like the namespace mechanism that I'd really like it if the two
> were merged and the PI target made arbitrary.

I have a new SAX parser filter in the planning stages called PIEngine.
It will take three actions w.r.t. PIs, selectable by mode switches:

	notation resolution: replace any PI target with the URI
	declared in the corresponding notation declaration, provided
	there is one.

	character references: convert numeric character references
	in PI data to the corresponding characters

	pseudo-elements: decode PIs as if they contained attributes
	(a bare name is interpreted as name="name", as in SGML)
	and pass them as empty elements with "?" prefixed to the name.


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

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/ and on CD-ROM/ISBN 981-02-3594-1
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