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

Re: Handling of PIs (was RE: Choosing a target name.

  • To: xml-dev@l...
  • Subject: Re: Handling of PIs (was RE: Choosing a target name...)
  • From: Tatu Saloranta <cowtowncoder@y...>
  • Date: Tue, 2 May 2006 17:19:33 -0700 (PDT)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=yVgY4tekSF5NAHCh5dN39mGU246/6XyyMxCsEB1MOzgzTLEGPArjsfoSs+t4xOJ7ZRGwC+OxkrnQnuk6k5iDiEWGYRwx6PMNtiB/ZWDvHE6Wqi1AjBxu/wi1nkigQQnovhmYJmpJnISBEn1G+UHdczHJsbPKDIzot+9wkw3T56s= ;
  • In-reply-to: <4457EDFC.2030705@m...>

Re:  Handling of PIs (was RE:  Choosing a target name.
--- Elliotte Harold <elharo@m...> wrote:

> Tatu Saloranta wrote:
> 
...
> > for comments was more optional), and at least
> > regarding parsers, they must be passed to handling
> > app/tool.
> 
> XML doesn't really define a processing model. This
> is arguably a flaw in 
> the spec. What must be passed is pretty haphazard.

Quite... but I thought that following (XML 1.0 specs,
2.6) was quite clear on this:

"PIs are not part of the document's character data,
but MUST be passed through to the application."

And this is quite different from what is said about,
say, comments:

"They are not part of the document's character data;
an XML processor MAY, but need not, make it possible
for an application to retrieve the text of comments."

Now, I do understand that just saying something should
(or MUST) be provided does not prescribe exact
mechanism... but a general-purpose API to an xml
processing tool that lacks such facility does seem
against the spirit of the specs, no?

> For instance, XML 
> processors must provide default attribute values
> when no specified 
> attribute is present. However there's no rule that
> says they have to 
> provide specified attribute values.

:-)

-+ Tatu +-


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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.