[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

html serialization

David Carlisle davidc at nag.co.uk
Mon Mar 23 12:06:19 PST 2009


  html serialization
> . It seems  
> to me that this doesn't allow those tags to be empty element tags  
> (e.g. <script/>). However, the HTML serialization chapter of the XSLT  
> and XQuery serialization specification (http://www.w3.org/TR/xslt-xquery-serialization/ 
> ) doesn't define this. It only defines elements that must not have an  
> end-tag for empty elements.

it doesn't need to say anything about script as the html  method
shouldn't use the />  syntax for any html element (as that syntax isn't
html) So it shouldn't use <p/> either. But I think you are right, the
serialisation spec doesn't seem to actually say that anywhere, and it
should say it somewhere.


The XSLT 1 spec, from which this was ultimately derived, said

> The default value is 4.0, which specifies that the result should be
> output as HTML conforming to the HTML 4.0 Recommendation [HTML]. 

which could be taken as stopping the system using <script/> but that line
has been dropped, presumably because it isn't actually implementable,
if the result tree being serialised corresponds to invalid html.

David

(I'm not on the WG, so these are just comments from an interested
observer, you should probably use bugzilla to raise an error report on
the spec, so it gets considered by the WG)


possibly related is
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5300



________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________


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
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-2007 All Rights Reserved.