W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2011

Re: [DOMCore] DocumentType: optional publicId and systemId

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 23 Jun 2011 15:48:33 +0200
To: Ms2ger <ms2ger@gmail.com>, "David Flanagan" <dflanagan@mozilla.com>
Cc: www-dom@w3.org
Message-ID: <op.vxi7a7g864w2qv@anne-van-kesterens-macbook-pro.local>
On Fri, 03 Jun 2011 19:24:07 +0200, David Flanagan <dflanagan@mozilla.com>  
wrote:
> Okay, I see.  Its confusing, though.  As a JS programmer, the "unless  
> explicitly given" in §5.7 made me think that I could omit the arguments  
> and the undefined values would be converted to empty strings. I think  
> the only place that sentence in §5.7 applies is in the algorithm for  
> createHTMLDocument().  So why not cut the text in §5.7 and change  
> createHTMLDocument() to explicitly specify empty strings?

It helps if we get other situations where DocumentType is created. Now  
this is not so likely for DocumentType, but defining DocumentType  
consistently with other interfaces is a good thing I think.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Thursday, 23 June 2011 13:49:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:07 GMT