|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] [Serial] Re: Preserving character entities
David Carlisle wrote:
except that currently saxon mplements the last draft which said that if you specify an encoding and then specify you don't want the xml-declaration that you get the declaration anyway (as in XSLT 1) I would like to make a formal comment that this is wrong. The serializer should not output a malformed document. Currently, the spec says: A serialization error results if the omit-xml-declaration parameter has the value yes, and * the standalone attribute has a value other than none; or * the version parameter has a value other than 1.0 and the doctype-system parameter is specified. The serializer MUST signal the error. I suggest a third bullet point be added along these lines: * the encoding attribute has a value other than "utf-8" or utf-16" I do not see why encoding should be singled out here from standalone and version. It makes more sense to simply signal an error on any impossible case. -- Elliotte Rusty Harold elharo@xxxxxxxxxxxxxxx XML in a Nutshell 3rd Edition Just Published! http://www.cafeconleche.org/books/xian3/ http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
|
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
|

Cart








