[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 insideHTML
Joshua Allen wrote: >>>I'm really suspicious of calls to rewrite a better, XML-aware >>> >>> >browser. > > >>That's fortunately not neccessary, as "more than 95% of browsers in >> >> >use" > > >>are "XML-based browser", >> >> ><http://www.w3.org/MarkUp/2004/xhtml-faq.html>. > >So-called XHTML support in browsers is a joke. You can use XML, so long >as it looks just like HTML with a few minor variations. Change the >order of namespace declarations, redeclare namespaces, use a creative >prefix, etc. and it blows up. > > And when using XSL v1.0 and transforming to XHTML it blows up if you have an empty TITLE or SCRIPT. It also blows up if you have an empty TEXTAREA. IE treats <br></br> and <hr></hr> as two elements -- not really a blow up, but... >I really can't believe otherwise intelligent people continue to deceive >themselves with such wishful thinking. > >I also don't understand why the religious devotion to XHTML, when it was >only a stopgap idea between HTML and XML+XSLT+CSS support; which we >already have. > > What is better: <h1>Main title</h1> <p>something something</p> <div class="section"> <h2>section title</h2> <p>something something</p> </div> or: <h>Main title</h> <p>something something</p> <section> <h>section title</h> <p>something something</p> </section> ? my choice would be the second. Is that a stopgap or better design? best, -Rob
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|