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

RE: Hostility to "binary XML" (was Re: XML 2004 webl

  • To: "Liam Quin" <liam@w...>
  • Subject: RE: Hostility to "binary XML" (was Re: XML 2004 weblog items?)
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Mon, 22 Nov 2004 17:26:52 -0800
  • Cc: <xml-dev@l...>
  • Thread-index: AcTQ+mNJCOymc7y5QOeDAj+FWdZtYAAAGfIQ
  • Thread-topic: Hostility to "binary XML" (was Re: XML 2004 weblog items?)

derick denny
> -----Original Message-----
> From: Liam Quin [mailto:liam@w...] 
> Sent: Monday, November 22, 2004 5:19 PM
> To: Dare Obasanjo
> Cc: xml-dev@l...
> Subject: Re:  Hostility to "binary XML" (was Re: 
>  XML 2004 weblog items?)
> 
> > 
> > "One can do validation in the writer and then plausibly 
> skip the sort 
> > of checks you mention in a reader, and still be talking about XML, 
> > even with today's textual interchange formats."
> 
> I was replying to Derick Denny-Brown, who mentioned specifically
> > Duplicate attribute detection,
> > character checking, namespace resolution/checking.
> 
> (although I'm not sure what he m eans by namespace 
> resolution, since one isn't supposed to have to dereference 
> the namespace URI)

I'm sure he means mapping namespace URIs to prefixes including the
associated scoping rules and the like. 

> > Sounds like you are claiming that XML parsers (e.g. the 
> stuff that XML 
> > web service end points or RSS aggregators use to consume XML coming 
> > from arbitrary and sometimes malicious sources) should skip 
> > well-formedness & validity tests since they can trust the writers.
> 
> That's not what I meant to claim -- you quoted me out of context.

So detecting duplicate attributes and checking if characters are legal
isn't well-formedness checking? I'm confused, how are you quoted out of
context? 

1. Derek points out at that some well-formedness checking is expensive
2. Liam responds that parsers can skip them and trust the generator of
the XML
3. I point out that this is problematic on the Web where consumers of
XML usually cannot trust producers of XML 

--
PITHY WORDS OF WISDOM 
It is impossible to make anything foolproof because fools are ingenious.


This posting is provided "AS IS" with no warranties, and confers no
rights.  

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.