W3C home > Mailing lists > Public > public-ws-addressing-eds@w3.org > July to September 2007

2004/ws/addressing/testsuite/documents .htaccess,NONE,1.1 Makefile,NONE,1.1 Overview.html,NONE,1.1 make-index.pl,NONE,1.1 reindent.sh,NONE,1.1 reindent.xsl,NONE,1.1

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
Message-Id: <E1I7zv3-0004qV-95@lionel-hutz.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/&/&amp;/g;
    $text =~ s/</&lt;/g;
    $text =~ s/>/&gt;/g;
    $text =~ s/\$/&#36;/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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:19:42 GMT