OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: processing instructions def.

[ Lists Home | Date Index | Thread Index ]
  • From: "James Tauber" <jtauber@jtauber.com>
  • To: <xml-dev@ic.ac.uk>
  • Date: Wed, 24 Nov 1999 12:07:58 -0500

> 1. The old XML WG considered allowing PI targets to be
>    Namespace-qualified, but in the end there wasn't enough demand, and
>    the shift to attribute-based NS declarations would have killed that
>    anyway.
>
> 2. Various people have suggested following a lead from recent SGML
>    developments and requiring the PI target to be a notation name.
>    Since notations are almost never used in the XML world, that might
>    be a non-starter.

But, as I've argued many times, the whole notation mechanism is *very*
similar to namespaces anyway. Both notations and namespaces involve a
mapping of a local name to a universal identifier. The only real difference
is that namespaces are used to make element and attribute names universal
and notations are used to make PI targets, unparsed entity content types and
PCDATA content types universal.

Compare:

<... xmlns:fop="http://xml.apache.org/fop/">
...
<fop:foo>...</fop:foo>

to

<!NOTATION fop SYSTEM "http://xml.apache.org/fop/">
...
<?fop bar?>

Exactly the same principal. Different mechanism.

James


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS