W3C home > Mailing lists > Public > public-ws-policy-eds@w3.org > September 2006

Re: Action item on diffmk tool and build update

From: Felix Sasaki <fsasaki@w3.org>
Date: Wed, 06 Sep 2006 12:07:58 +0900
Message-ID: <44FE3B8E.5070309@w3.org>
To: Asir Vedamuthu <asirveda@microsoft.com>
Cc: David Orchard <dorchard@bea.com>, public-ws-policy-eds@w3.org
Asir Vedamuthu wrote:

> I think the order of inputs for the DIFFMK targets needs to be reversed
> to compute the diff documents. 

I used the same as in
http://www.w3.org/XML/Group/xsl-query-specs/data-model/build.xml (look
for the task "diff-xml". I also tried it with other xmlspec documents
(not policy), and it seems to work.

I'll play with the targets and let you
> know if that works.

o.k.

Felix


> 
> Regards,
>  
> Asir S Vedamuthu
> Microsoft Corporation
> 
> 
> -----Original Message-----
> From: public-ws-policy-eds-request@w3.org
> [mailto:public-ws-policy-eds-request@w3.org] On Behalf Of Felix Sasaki
> Sent: Monday, September 04, 2006 4:20 PM
> To: David Orchard
> Cc: public-ws-policy-eds@w3.org
> Subject: Re: Action item on diffmk tool and build update
> 
> David Orchard wrote:
>> Hi felix,
>>
>> The build script is now broken for me.  I did a refresh of the dir,
> and
>> it now complains that diff20060731.xml is not valid xml.  I looked and
>> it doesn't like the xml:base decl in status.  I have the latest
> version
>> of xmlspec.dtd.  
> 
> now it works again. I just changed the validation task so that the diff
> files are not validated anymore. This does not hurt since their
> processing with diffspec.xsl works fine.
> 
>> I can't report on the generation of the Editor's draft to the WG until
>> this and the glossary item are done..
> 
> You should now be ready for that. Could you have another look?
> 
> 
> Felix
> 
>> Cheers,
>> Dave 
>>
>>> -----Original Message-----
>>> From: public-ws-policy-eds-request@w3.org 
>>> [mailto:public-ws-policy-eds-request@w3.org] On Behalf Of Felix
> Sasaki
>>> Sent: Sunday, September 03, 2006 10:38 PM
>>> To: Felix Sasaki
>>> Cc: public-ws-policy-eds@w3.org
>>> Subject: Re: Action item on diffmk tool and build update
>>>
>>> Felix Sasaki wrote:
>>>> Hi all,
>>>>
>>>> My action item
>>>> "[PENDING] ACTION: W3C staff contact to automate generation of diff 
>>>> for WS-Policy by deploying the diffmk tool and updating he 
>>> build.xml etc.
>>>> [recorded in
>>>> http://www.w3.org/2006/08/16-ws-policy-eds-minutes.html#action05]"
>>>> is half done.
>>> the other half is now done as well, the build file is 
>>> updated. Update your build.xml and use the "diff" task to 
>>> generate the XML and HTML diff documents.
>>>
>>> The date of the diff document is hard-wired in the ant 
>>> property last-public-draft, which is now 20060731 . I will 
>>> change the property value after each new public WD.
>>>
>>> Felix
>>>
>>>
>>>  I deployed the diffmk tool to generate diffs for the
>>>> framework and the attachment document. See:
>>>>
>>>> - ws-policy-framework-tr20060731.xml a local copy of the FPWD, as 
>>>> input to the diff generation process
>>>> - ws-policy-framework-diff20060731.xml the output of the diff (XML)
>>>> - ws-policy-framework-diff20060731.html (the output of the diff 
>>>> (HTML))
>>>>
>>>> The same for the attachment document:
>>>> - ws-policy-attachment-tr20060731.xml
>>>> - ws-policy-attachment-diff20060731.xml
>>>> - ws-policy-attachment-diff20060731.html
>>>>
>>>> To have this running, you need:
>>>>
>>>> - diffmk.jar
>>>> - diffmk.xml
>>>> - DiffMk.properties
>>>> - resolver.jar
>>>> - diffspec.xsl
>>>>
>>>> All files above are now in the usual directory 
>>>> http://dev.w3.org/cvsweb/2006/ws/policy/ . You just need to 
>>> update the 
>>>> directory to get them.
>>>>
>>>> You can run the diff generation process with java -cp 
>>>> "diffmk.jar;DiffMk.properties;" com.sun.xtc.diffmk.DiffMk --doctype 
>>>> xmlspec --diff both --words ws-policy-framework.xml 
>>>> ws-policy-framework-tr20060731.xml 
>>>> ws-policy-framework-diff20060731.xml
>>>> (generates ws-policy-framework-diff20060731.xml)
>>>>
>>>> and
>>>>
>>>> java -cp "diffmk.jar;DiffMk.properties;" com.sun.xtc.diffmk.DiffMk 
>>>> --doctype xmlspec --diff both --words ws-policy-attachment.xml 
>>>> ws-policy-attachment-tr20060731.xml 
>>>> ws-policy-attachment-diff20060731.xml
>>>> (generates ws-policy-attachment-diff20060731.xml)
>>>>
>>>> The HTML output ws-policy-framework-diff20060731.html and 
>>>> ws-policy-attachment-diff20060731.html is generated by applying 
>>>> diffspec.xsl to the two generated diff files.
>>>>
>>>> Soon you will get the updated build file to run this all 
>>> automatically.
>>>> Felix
>>>>
> 
> 
> 



Received on Wednesday, 6 September 2006 03:08:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:27:49 UTC