2006/ws/policy Makefile.base,1.2,1.3

Update of /sources/public/2006/ws/policy
In directory hutz:/tmp/cvs-serv26119

Modified Files:
	Makefile.base 
Log Message:
Changed namespace, Use saxon to transform the specification

Index: Makefile.base
===================================================================
RCS file: /sources/public/2006/ws/policy/Makefile.base,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Makefile.base	5 Jun 2006 12:14:45 -0000	1.2
+++ Makefile.base	21 Feb 2007 15:40:03 -0000	1.3
@@ -24,14 +24,15 @@
 VALIDATE=xmllint --noout --valid
 VALIDATESCHEMA=$(TOOLS)/validate-schema.sh
 XSLTPROC=xsltproc
+SAXON=saxon
 NSCHECK=REQUEST_METHOD="GET" SCRIPT_NAME=nschecker python $(TOOLS)/nschecker
 SETUP-NAMESPACES=$(TOOLS)/setup-namespaces
 
-RDDLTRANS=sed -e "s/@Y@/$(YEAR)/g" -e "s/@M@/$(MM)/g" -e "s/@D@/$(DD)/g" -e "s/@S@/$(STATUS)/g" -e "s/@NS@/Web Services Policy 1.5/g" -e "s/@N@/ws-policy/g" -e "s|@NSURI@|http://www.w3.org/$(YEAR)/$(MM)/policy|g"
+RDDLTRANS=sed -e "s/@Y@/$(YEAR)/g" -e "s/@M@/$(MM)/g" -e "s/@D@/$(DD)/g" -e "s/@S@/$(STATUS)/g" -e "s/@NS@/Web Services Policy 1.5/g" -e "s/@N@/ws-policy/g" -e "s|@NSURI@|http://www.w3.org/ns/ws-policy|g"
 
 TR=$(WWW)/TR/$(YEAR)
 PUBDIR=$(TR)/$(DOCNAME)
-NSDIR=$(WWW)/$(YEAR)/$(MM)/policy$(EXTRANSDIR)
+NSDIR=$(WWW)/ns$(EXTRANSDIR)
 
 POLICY.xml=$(PREFIX).xml
 POLICY.html=$(PREFIX).html
@@ -43,7 +44,7 @@
 
 $(POLICY.html): $(POLICY.xml) $(FILES) $(XSL) changelog.xml valid-xml.txt
 	@echo "Generating $@";\
-	$(XSLTPROC) --stringparam file $(POLICY.xml) $(STYLESHEET) $(POLICY.xml) > $@
+	$(SAXON) $(POLICY.xml) $(STYLESHEET) > $@
 	@echo "Running tidy on $@";\
 	mv $@  $@.old; \
 	$(TIDY) $@.old > $@ 2>./tidy-output.txt;\

Received on Wednesday, 21 February 2007 15:40:22 UTC