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

Re: Why not PIs for namespace declarations?

  • From: "Clark C. Evans" <clark.evans@m...>
  • To: Frank Boumphrey <bckman@i...>
  • Date: Thu, 23 Dec 1999 16:57:27 -0500 (EST)

Re: Why not PIs for namespace declarations?
On Thu, 23 Dec 1999, Frank Boumphrey wrote:
> In fact if you look at the working Drafts you will see that 
> namespaces used PI'sright up to the final recomendation!

Yes, sounds like a fast change of heart.  The PI version even
made it into the XML Companion by Neil Bradley...

 <?xml:namespace name="http://www.vehicles.org/"
                 href="http://www.vehicles.org/dtds/v.dtd"
                 as="veh"
 ?>

> 1. My understanding is that they were abandoned to allow scoping.

Yes.  I had assumed (due to attributes being used) that 
PIs were only valid in the prolog... now that David pointed
out that this was a bad assumption -- I'm quite puzzled.

> 2. A mecanism to not scope attributes was wanted.

Is this related to that "three name space partitions" stuff?

> 3. there was a general feeling that PI's were 'broken'

Thanks Frank!

...

Now I'm wondering if it wouldn't be all that hard for parser's
to support both methods.  As the PI version seems far cleaner.

  <pre:element xmlns:pre="http//www.vehicles.org/dtds/v.dtd" />

becomes

  <?xml:namespace href="http://www.vechicles.org/dtds/v.dtd" as="pre" ?>
  <pre:element/>
  
Oh humm.  Thank you all for your feedback!

;) Clark



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/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@i... the following message;
unsubscribe 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.