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

RE: What is the rule for parsing XML in a namespace inside HTM

  • To: "Bullard, Claude L \(Len\)" <len.bullard@i...>,"Dare Obasanjo" <dareo@m...>,"Elliotte Rusty Harold" <elharo@m...>
  • Subject: RE: What is the rule for parsing XML in a namespace inside HTML?
  • From: "Joshua Allen" <joshuaa@m...>
  • Date: Tue, 13 Jul 2004 22:06:03 -0700
  • Cc: "XML Developers List" <xml-dev@l...>
  • Thread-index: AcRo612qNqZRBMPETNyPMQD+VAuUTQAc2dLw
  • Thread-topic: What is the rule for parsing XML in a namespace inside HTML?

biztalk enforce namespace
> if a resource returned by a URI has <?xml in the document, the
> rules for processing it and returning errors should be clear,
> simple, and enforced by the browser.   If it doesn't have that,
> then it is a laissez-faire situation which is what we have now.
> I'm ok with that.  If the intent of the author is not made

Well, the "enforced by the browser" is what I'm having trouble with.
Most XML is not intended to be processed by a web browser.  HTML is for
rendering in user-agents, XML is for processing by some data interchange
program without even a UI, importing into a contacts database, consuming
in a news aggregator, etc.  I think it would be overkill to expect a web
browser to enforce my PurchaseOrder schema just as it would be overkill
to expect the Biztalk app to enforce HTML rules on a payload.

In cases where you have something like VML or SVG which actually *is*
intended to be rendered in a user agent, then I agree.  (And I realize
this is your specific case -- I am just arguing against the general
case)  But I don't see why an actual HTML *envelope* would have to be
<?xml...?> in order to embed payloads that were intended to be pulled
out and parsed with an XML processor.  I think something like the <xml>
tag hack that IE uses is just fine, and it would be ideal if all XML
payloads such as SVG and VML are embedded in HTML 4.x using this
convention.  You could additionally stipulate that the browser should
enforce wellformedness inside the <xml> tags.  That would be a good
convention and would deserve support, IMO.

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.