Re: Document conformance and non-empty <script src>

On Tue, 5 Aug 2008, Simon Pieters wrote:
> On Tue, 05 Aug 2008 22:37:12 +0200, Ian Hickson <ian@hixie.ch> wrote:
> > > > I suppose we could allow /* ... */, but that seems oddly specific...
> > > 
> > > The spec could allow any text and conformance checkers could compete 
> > > on being useful. Or the spec can be oddly specific. :-) Note though 
> > > that // and <!-- are also javascript comments.
> > 
> > I suppose if we want to support this for text/html...
> 
> Not sure I follow.

In XML, comments here are already allowed.


> > What syntaxes do we want to allow? Only zero or more /*...*/ and 
> > //...\n strings with any amount of whitespace before and after?
> 
> For javascript I'd say yes and add <!--...\n to that, but then again I'm 
> not a conformance checker developer. :-)

I didn't add <!--, because of the confusion that would result from 
migrating that to XML later, and because of the uncertain situation of 
that construct in the JS group.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 16 January 2009 01:51:37 UTC