[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: 'Dare Obasanjo' <dareo@m...>, 'Joshua Allen' <joshuaa@m...>, XML Developers List <xml-dev@l...>
  • Subject: RE: What is the rule for parsing XML in a namespace inside HTML?
  • From: "Bullard, Claude L (Len)" <len.bullard@i...>
  • Date: Mon, 12 Jul 2004 16:32:40 -0500

xml inside html
It isn't a data island.  It is non-HTML in the renderer.
To be specific, it is VML inside HTML using the CSS behavior 
support and the xmlns declaration, per the manual.

What happened was a comment became denested (missing end 
comment decl) and was not noticed because the values for 
the VML were hardwired, so the rendering looked ok.  While 
adding a feature, it became apparent that something wasn't 
right with the original.  The missing end comment decl 
was picked up by a later comment and that effectively 
commented out the good code.  So a bug was acting like a 
feature in the instance. NBFD, I can fix these but it 
occurred to me that the VML was malformed and the 
browser didn't gripe about it.  So I thought, sure 
it's inside the HTML but it really isn't. (is  
namespaced markup actually inside markup with a 
different namespace; not really).   

Then it occurred to me the browser doesn't actually 
know the difference if it isn't in an XML document.

I dunno Joshua.  It seems to me that grandfathering 
HTML leads to problems worse than actually creating 
an XML browser that knows it is one.  My particular 
bug is fixable, but it tells me that when using 
XML inside non-XML, I can't trust rules I thought 
I could trust.  It should know that the VML is an 
XML app, but wow... it hurts my brain to think 
about how that would work while still grandfathering 
HTML tag stacking.

len


From: Dare Obasanjo [mailto:dareo@m...]

> > The subject says it.   If HTML has an XML 
> > namespace inside it, is the Draconian parse rule still in effect?
> 
> Exactly how do you embed XML inside HTML let alone just XML 
> namespaces? 

By the way I do know you can do this in an IE specific manner using XML
data islands[0] but I'd assumed this was non-standard and unsupported in
other browsers. 

[0] http://www.w3schools.com/xml/xml_data_island.asp

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.