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

Re: [good] Question about NS 1.1


Re:  [good] Question about NS 1.1


Michael Kay wrote:
> 
> Michael Kay:
> > And I have yet to see a
> > > proposal that cleans up the namespace model without
> > breaking applications that work today according to the current specs.
> >
> James Anderson:
> 
> > To the extent that an application expects a prefix-namespace binding
> > which was apparent in the dynamic context of a given document's parser
> > to have indefinite extent, the application is already broken.
> >
> Sorry, but we're on a different wavelength.

Let's see if we can tune into the same wavelength?

>                                             I don't see how you can describe
> an application that uses facilities defined in the current W3C
> specifications (facilities that were put there deliberately and that are
> implemented uninformly in a dozen products) and that uses these facilities
> as they were designed to be used, as "broken".

Can a DOM which cannot support operations like

(let ((document
       (parse-document
        "<e1><e2 p1:a1='v1' xmlns:p1='nsn1'/><e3 p1:a1='v2' xmlns:p1='nsn2'/></e1>")))
  (push (first (attributes (first (children (root document)))))
        (attributes (second (children (root document)))))
  (write-node document *trace-output* :pretty t))

==>

<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<!DOCTYPE e1 [

<!-- no root element definition present -->
 ]>

<e1>
 <e2 xmlns:p1='nsn1' p1:a1='v1' />
 <e3 xmlns:p1='nsn2' nsp-1:a1='v1' p1:a1='v2' xmlns:nsp-1='nsn1' />
 </e1>
#<DOC-NODE <no uri> #x9A3B976>

be said to work for documents which are namespace-aware?
Can implementations built on such a DOM be said to work for documents
which are namespace-aware?

> 
> We can regret the fact that it was specified it that way (that's what I mean
> by hindsight), but we can't pretend that it wasn't.
> 

Which doesn't mean one can't fix it.

...

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.