[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Are PI targets arbitrary?
One way in which this differs from namespaces is that it does not provide a mechanism to avoid name conflicts. A consistently applied encoding mechanism for namespaces would have. That is, the ns-spec should well have premitted all names to be qualified names. Since it precludes the name in a notation from being qualified, it is not possible to use notation to this end. I have heard the argument, that the association with a notation and the uri specification for a notation obviates the need for qualification. It didn't understand the claim. I still don't. One really needs to an encoding of the form <?pi fop:some-command some args ?> which together with the binding < ... xmlns:fop="http://www.jtauber.com/fop/" ... > would permit the application to operate with a token of the form ("http://www.jtauber.com/fop/" X "some-command") and be assured that there are no name conflicts. Yes, the present spec would permit this, but does not describe its effect. James Tauber wrote: > > I'm starting to put some options into FOP that are triggered by processing > instructions. My initial thought was use 'fop' as the target. > > But then it occurred to me: PI targets can be associated with a URI via a > NOTATION declaration. This is *a lot* like namespaces. Does that mean PI > targets should be arbitrary proxies? > > Instead of looking for PIs with the target "fop" should I instead be looking > for PIs with the target which is a NOTATION declared with URI > http://www.jtauber.com/fop/ > After all, some other application might use the target "fop" but only mine > would use the NOTATION with URI http://www.jtauber.com/fop/. 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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|