From: Bob Stayton Date: Fri, 7 Feb 2014 23:10:53 +0000 (+0000) Subject: Fix pattern match for profiling xsl. X-Git-Tag: release/1.79.1~6^2~87 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f06c375bebe09af69b424abcd628159f9828d34;p=docbook-dsssl Fix pattern match for profiling xsl. --- diff --git a/releasetools/xslnons-build b/releasetools/xslnons-build index 07095c610..d53c1e6b2 100755 --- a/releasetools/xslnons-build +++ b/releasetools/xslnons-build @@ -460,7 +460,7 @@ sub namespacefilter { $newstring .= $pre; # pass through XSL key words and mixed case names and olink elements - if ( $name =~ /(^mod$|^div$|^and$|^or$|^ttl$|^xreftext$|^dir$|^sitemap$|^obj$|^document$|^exsl$|^.*[A-Z].*$)/ ) { + if ( $name =~ /(^mod$|^div$|^and$|^or$|^ttl$|^xreftext$|^dir$|^id$|^sitemap$|^obj$|^document$|^exsl$|^.*[A-Z].*$)/ ) { # pass this name through $newstring .= $name; diff --git a/releasetools/xslns-build b/releasetools/xslns-build index f5e3b28ab..b78d7fe77 100755 --- a/releasetools/xslns-build +++ b/releasetools/xslns-build @@ -53,7 +53,6 @@ my $dbname = "[a-z][a-z0-9]+"; # Don't add namespace to any xsl files in these directories my @PassthruDirs = ( 'extensions', -'profiling', 'images', 'tools', 'build', @@ -66,11 +65,11 @@ my @PassthruDirs = ( my @PassthruFiles = ( 'html-rtf.xsl', 'html2xhtml.xsl', -'xsl2profile.xsl', 'olink.xsl', 'addns.xsl', 'stripns.xsl', 'tbl.xsl', +'xsl.xsl' ); umask 002; @@ -442,7 +441,7 @@ sub namespacefilter { $newstring .= $pre; # pass through XSL key words and mixed case names and olink elements - if ( $name =~ /(^mod$|^div$|^and$|^or$|^ttl$|^xreftext$|^dir$|^sitemap$|^obj$|^document$|^exsl$|^.*[A-Z].*$)/ ) { + if ( $name =~ /(^mod$|^div$|^and$|^or$|^ttl$|^xreftext$|^dir$|^id$|^sitemap$|^obj$|^document$|^exsl$|^.*[A-Z].*$)/ ) { # pass this name through $newstring .= $name;