Re: [whatwg] New HTML5 spec GIT collaboration repository

Cameron McCormack wrote:
> Manu Sporny:
>>> 3. Running the Anolis post-processor on the newly modified spec.
> 
> Geoffrey Sneddon:
>> Is there any reason you use --allow-duplicate-dfns?
> 
> I think it’s because the source file includes the source for multiple
> specs (HTML 5, Web Sockets, etc.) which, when taken all together, have
> duplicate definition.  Manu’s Makefile will need to split out the
> HTML 5 specific parts (between the <!--START html5--> and <!--END
> html5--> markers).  The ‘source-html5 : source’ rule in
> http://dev.w3.org/html5/spec-template/Makefile will handle that.

What a great answer, Cameron! I wish I had thought of that :)

Yes, that will become an issue in time and was going to have a chat with
Geoffrey about how to modify Anolis to handle that as well as handling
what happens when there is no definitions when building the
cross-references (perhaps having a formatter warnings section in the file?).

I also spoke too soon, Geoffrey, --allow-duplicate-dfns is needed
because of this error when compiling Ian's spec:

The term "dom-sharedworkerglobalscope-applicationcache" is defined more
than once

I'm probably doing something wrong... haven't had a chance to look at
Cameron's Makefile pointer yet, so "--allow-duplicate-dfns" is in there
for now. Here's the latest:

http://github.com/html5/spec/commit/16514d4ec9175fdf6a408789628817d81c44e3a9

-- manu

-- 
Manu Sporny (skype: msporny, twitter: manusporny)
President/CEO - Digital Bazaar, Inc.
blog: Bitmunk 3.1 Released - Browser-based P2P Commerce
http://blog.digitalbazaar.com/2009/06/29/browser-based-p2p-commerce/

Received on Tuesday, 28 July 2009 04:12:16 UTC