Francois Yergeau wrote: > LS6) In DOMSerializer, method writeURI(): there is no way to control the > encoding that will be used to output. The method itself doesn't have a > parameter, and the order of priorities is Document.actualEncoding followed > by Document.xmlEncoding. Document.actualEncoding being read-only, the user > has no way to specify the output encoding, except if by chance > Document.actualEncoding is null. There should be an additional "encoding" > parameter (nullable, to fall back to actualEncoding and xmlEncoding) to the > method. DOMSerializer.writeURI() is merely a convenience method (and is now defined as such), if you need to pass encoding information when writing to a IRI, use DOMSerializer.write() and set the encoding on the DOMOutput. -- jstReceived on Tuesday, 16 September 2003 20:52:17 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:57 GMT