Skip to content

Commit 1ae47a5

Browse files
committed
Clean up namespaces
Add default XHTML namespace to aid XML-aware editors
1 parent 86bfbcc commit 1ae47a5

24 files changed

+65
-85
lines changed

src/etc/checkstyle/checkstyle-frames-sortby-check.xsl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<?xml version="1.0"?>
2-
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"
3-
xmlns:lxslt="http://xml.apache.org/xslt"
4-
xmlns:redirect="http://xml.apache.org/xalan/redirect"
5-
extension-element-prefixes="redirect">
2+
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
3+
xmlns:redirect="http://xml.apache.org/xalan/redirect"
4+
extension-element-prefixes="redirect">
65

76
<!--
87
Licensed to the Apache Software Foundation (ASF) under one or more

src/etc/checkstyle/checkstyle-frames.xsl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<?xml version="1.0"?>
22
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
3-
xmlns:lxslt="http://xml.apache.org/xslt"
4-
xmlns:redirect="http://xml.apache.org/xalan/redirect"
5-
extension-element-prefixes="redirect">
3+
xmlns:redirect="http://xml.apache.org/xalan/redirect"
4+
extension-element-prefixes="redirect">
65

76
<!--
87
Licensed to the Apache Software Foundation (ASF) under one or more

src/etc/checkstyle/checkstyle-xdoc.xsl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<?xml version="1.0"?>
22
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
3-
xmlns:lxslt="http://xml.apache.org/xslt"
4-
xmlns:redirect="org.apache.xalan.lib.Redirect"
5-
extension-element-prefixes="redirect">
3+
xmlns:redirect="http://xml.apache.org/xalan/redirect"
4+
extension-element-prefixes="redirect">
65

76
<!--
87
Licensed to the Apache Software Foundation (ASF) under one or more

src/etc/coverage-frames.xsl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0"?>
22
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
3-
xmlns:lxslt="http://xml.apache.org/xslt"
4-
xmlns:redirect="org.apache.xalan.lib.Redirect"
5-
extension-element-prefixes="redirect">
3+
xmlns="http://www.w3.org/1999/xhtml"
4+
xmlns:redirect="http://xml.apache.org/xalan/redirect"
5+
extension-element-prefixes="redirect">
66
<xsl:output method="html" indent="yes"/>
77
<xsl:decimal-format decimal-separator="." grouping-separator="," />
88
<!--

src/etc/jdepend-frames.xsl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0"?>
2-
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
3-
xmlns:lxslt="http://xml.apache.org/xslt"
4-
xmlns:redirect="org.apache.xalan.lib.Redirect"
5-
extension-element-prefixes="redirect">
2+
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
3+
xmlns="http://www.w3.org/1999/xhtml"
4+
xmlns:redirect="http://xml.apache.org/xalan/redirect"
5+
extension-element-prefixes="redirect">
66
<xsl:output method="html" indent="yes" encoding="US-ASCII"/>
77
<!--
88
Licensed to the Apache Software Foundation (ASF) under one or more

src/etc/jdepend.xsl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0"?>
2-
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
2+
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
3+
xmlns="http://www.w3.org/1999/xhtml">
34

45
<!--
56
Licensed to the Apache Software Foundation (ASF) under one or more

src/etc/junit-frames-saxon.xsl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<?xml version="1.0"?>
2-
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3-
xmlns:xs="http://www.w3.org/2001/XMLSchema"
4-
exclude-result-prefixes="xs"
5-
version="2.0">
2+
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"
3+
xmlns="http://www.w3.org/1999/xhtml">
64
<xsl:character-map name="no-control-characters">
75
<xsl:output-character character="&#127;" string="&amp;#127;"/>
86
<xsl:output-character character="&#128;" string="&amp;#128;"/>

src/etc/junit-frames-xalan1.xsl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0"?>
22
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
3-
xmlns:lxslt="http://xml.apache.org/xslt"
4-
xmlns:redirect="org.apache.xalan.lib.Redirect"
5-
xmlns:string="xalan://java.lang.String"
6-
xmlns:stringutils="xalan://org.apache.tools.ant.util.StringUtils"
3+
xmlns="http://www.w3.org/1999/xhtml"
4+
xmlns:redirect="org.apache.xalan.lib.Redirect"
5+
xmlns:string="xalan://java.lang.String"
6+
xmlns:stringutils="xalan://org.apache.tools.ant.util.StringUtils"
77
extension-element-prefixes="redirect">
88
<xsl:output method="html" indent="yes" encoding="UTF-8"/>
99
<xsl:decimal-format decimal-separator="." grouping-separator=","/>

src/etc/junit-frames.xsl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0"?>
22
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
3-
xmlns:lxslt="http://xml.apache.org/xslt"
4-
xmlns:redirect="http://xml.apache.org/xalan/redirect"
5-
xmlns:string="xalan://java.lang.String"
6-
extension-element-prefixes="redirect">
3+
xmlns="http://www.w3.org/1999/xhtml"
4+
xmlns:redirect="http://xml.apache.org/xalan/redirect"
5+
xmlns:string="xalan://java.lang.String"
6+
extension-element-prefixes="redirect">
77
<xsl:output method="html" indent="yes" encoding="UTF-8"/>
88
<xsl:decimal-format decimal-separator="." grouping-separator=","/>
99
<!--

src/etc/junit-noframes-saxon.xsl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<?xml version="1.0"?>
2-
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3-
xmlns:xs="http://www.w3.org/2001/XMLSchema"
4-
exclude-result-prefixes="xs"
5-
version="2.0">
2+
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"
3+
xmlns="http://www.w3.org/1999/xhtml">
64
<xsl:character-map name="no-control-characters">
75
<xsl:output-character character="&#127;" string="&amp;#127;"/>
86
<xsl:output-character character="&#128;" string="&amp;#128;"/>

0 commit comments

Comments
 (0)