- From: Philippe Le Hegaret via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 09 Jul 2007 20:33:17 +0000
- To: public-ws-addressing-eds@w3.org
Update of /sources/public/2004/ws/addressing/testsuite/documents In directory hutz:/tmp/cvs-serv18419/documents Added Files: .htaccess Makefile Overview.html make-index.pl reindent.sh reindent.xsl Log Message: Moved from cvs.w3.org --- NEW FILE: make-index.pl --- #! /usr/bin/env perl use strict; print <<EOF; <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html xmlns:s= "http://www.w3.org/2002/ws/addr/testsuite/testcases/"> <head> <meta name="generator" content= "HTML Tidy for Mac OS X (vers 12 April 2005), see www.w3.org"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Web Services Addressing 1.0 - Test Documents</title> <link href="../testsuite.css" rel="stylesheet" type="text/css"> </head> <body> <h1>Web Services Addressing 1.0 - Test Documents</h1> EOF my @files = (); print "<ul>"; foreach my $file (`find . -name \*xml -o -name \*wsdl`) { chomp($file); $file =~ s/^\.\///; push(@files, $file); print "<li><a href='#$file'>$file</a></li>\n"; } print "</ul>"; print "<ul>"; foreach my $file (@files) { chomp($file); $file =~ s/^\.\///; print "<li><a name='$file'/><a href='$file'>$file</a></p>\n"; print "<pre>"; my $text = do { local(@ARGV, $/) = $file; <> }; $text =~ s/&/&/g; $text =~ s/</</g; $text =~ s/>/>/g; $text =~ s/\$/$/g; print $text; print "</pre></li>\n"; } my $address = do { local(@ARGV, $/) = '../address.xml'; <> }; $address =~ s/<\/?suffix>//g; print <<EOF; </ul> <hr> <p>Generated using <a href="make-index.pl">make-index.pl</a>.<br> \$Date: 2007/07/09 20:33:15 $</p> $address </body> </html> EOF exit(0); --- NEW FILE: Makefile --- # -*- makefile -*- XSLTPROC=xsltproc TIDY=tidy all: Overview.html Overview.html:: ../address.xml Makefile @echo "Generating $@";\ ./make-index.pl > $@ @echo "Running tidy on $@";\ mv $@ $@.old; \ $(TIDY) -utf8 $@.old > $@ 2>./tidy-output.txt;\ rm $@.old clean: rm -f *~* html2ps.dbg ./valid-html.txt ./valid-xml.txt ./checkspell.txt ./valid-links.txt ./valid-pubrules.html ./valid-ns.html ./tidy-output.txt .PHONY: clean all --- NEW FILE: reindent.xsl --- <!-- From http://www.dpawson.co.uk/xsl/sect2/pretty.html --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" indent="yes"/> <xsl:strip-space elements="*"/> <xsl:template match="/"> <xsl:copy-of select="."/> </xsl:template> </xsl:stylesheet> --- NEW FILE: Overview.html --- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html xmlns:s= "http://www.w3.org/2002/ws/addr/testsuite/testcases/"> <head> <meta name="generator" content= "HTML Tidy for Mac OS X (vers 12 April 2005), see www.w3.org"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Web Services Addressing 1.0 - Test Documents</title> <link href="../testsuite.css" rel="stylesheet" type="text/css"> </head> <body> <h1>Web Services Addressing 1.0 - Test Documents</h1> <ul> <li><a href= '#alertcontrol/fault.xml'>alertcontrol/fault.xml</a></li> <li><a href= '#alertcontrol/message.xml'>alertcontrol/message.xml</a></li> <li><a href= '#echo/soap11/duplicateActionFault.xml'>echo/soap11/duplicateActionFault.xml</a></li> [...2528 lines suppressed...] "World Wide Web Consortium">W3C</acronym></a> <sup>®</sup> ( <a href="http://www.csail.mit.edu/"><acronym title= "Massachusetts Institute of Technology">MIT</acronym></a> , <a href="http://www.ercim.org/"><acronym title= "European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a> ,<a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a href= "/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href= "/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>, <a rel="Copyright" href= "/Consortium/Legal/copyright-documents">document use</a> and <a rel="Copyright" href= "/Consortium/Legal/copyright-software">software licensing</a> rules apply. Your interactions with this site are in accordance with our <a href="/Consortium/Legal/privacy-statement#Public">public</a> and<a href="/Consortium/Legal/privacy-statement#Members">Member</a> privacy statements.</p> </body> </html> --- NEW FILE: .htaccess --- <Files ~ "\.html"> ForceType 'text/html; charset=utf-8' </Files> --- NEW FILE: reindent.sh --- #!/bin/sh while [ ! -z "$*" ]; do echo "Processing $1" xsltproc reindent.xsl $1 > $1.TMP mv $1.TMP $1 shift done
Received on Monday, 9 July 2007 20:33:23 UTC