change XMLNS for the configuration v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Tue, 30 Apr 2019 20:04:06 +0200
branchv_0
changeset 249 7655df0622ee
parent 248 7f81cfa150d0
child 250 aae5009bd0af
change XMLNS for the configuration Use The 'tag' URI Scheme <http://www.faqs.org/rfcs/rfc4151.html> Upgrade local configuration: sed 's@https://sql-dk.globalcode.info/xmlns/configuration@tag:globalcode.info,2018:sqldk/configuration@g' -i ~/.sql-dk/config.xml
java/sql-dk/src/main/java/info/globalcode/sql/dk/Xmlns.java
xml/config.rnc
xml/config.xml
xml/config.xsd
xml/config.xsl
--- a/java/sql-dk/src/main/java/info/globalcode/sql/dk/Xmlns.java	Tue Apr 30 19:49:17 2019 +0200
+++ b/java/sql-dk/src/main/java/info/globalcode/sql/dk/Xmlns.java	Tue Apr 30 20:04:06 2019 +0200
@@ -24,7 +24,7 @@
  */
 public class Xmlns {
 
-	public static final String CONFIGURATION = "https://sql-dk.globalcode.info/xmlns/configuration";
+	public static final String CONFIGURATION = "tag:globalcode.info,2018:sqldk/configuration";
 	public static final String RELPIPE = "tag:globalcode.info,2018:relpipe";
 	public static final String SQLDK = "tag:globalcode.info,2018:sqldk";
 	public static final String XHTML = "http://www.w3.org/1999/xhtml";
--- a/xml/config.rnc	Tue Apr 30 19:49:17 2019 +0200
+++ b/xml/config.rnc	Tue Apr 30 20:04:06 2019 +0200
@@ -14,7 +14,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
 
-default namespace = "https://sql-dk.globalcode.info/xmlns/configuration"
+default namespace = "tag:globalcode.info,2018:sqldk/configuration"
 
 start =
 	element configuration {
--- a/xml/config.xml	Tue Apr 30 19:49:17 2019 +0200
+++ b/xml/config.xml	Tue Apr 30 20:04:06 2019 +0200
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml-stylesheet type="text/xsl" href="config.xsl"?>
-<configuration xmlns="https://sql-dk.globalcode.info/xmlns/configuration">
+<configuration xmlns="tag:globalcode.info,2018:sqldk/configuration">
 	
 	<!-- Database Connections: -->
 	<!--
--- a/xml/config.xsd	Tue Apr 30 19:49:17 2019 +0200
+++ b/xml/config.xsd	Tue Apr 30 20:04:06 2019 +0200
@@ -19,8 +19,8 @@
 <xs:schema
 	xmlns:xs="http://www.w3.org/2001/XMLSchema"
 	elementFormDefault="qualified"
-	targetNamespace="https://sql-dk.globalcode.info/xmlns/configuration"
-	xmlns:c="https://sql-dk.globalcode.info/xmlns/configuration">
+	targetNamespace="tag:globalcode.info,2018:sqldk/configuration"
+	xmlns:c="tag:globalcode.info,2018:sqldk/configuration">
 	
 	<xs:element name="configuration">
 		<xs:complexType>
--- a/xml/config.xsl	Tue Apr 30 19:49:17 2019 +0200
+++ b/xml/config.xsl	Tue Apr 30 20:04:06 2019 +0200
@@ -24,7 +24,7 @@
 <xsl:stylesheet version="1.0"
 	xmlns="http://www.w3.org/1999/xhtml"
 	xmlns:h="http://www.w3.org/1999/xhtml"
-	xmlns:c="https://sql-dk.globalcode.info/xmlns/configuration"
+	xmlns:c="tag:globalcode.info,2018:sqldk/configuration"
 	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 	xmlns:fn="http://www.w3.org/2005/xpath-functions"
 	xmlns:svg="http://www.w3.org/2000/svg"