From a4a8586e0661eb6509d128e155f3f14bf287ca05 Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Fri, 14 Dec 2012 13:55:32 +0100 Subject: [PATCH] [#2008] Add elementFormDefault="qualified" to XSD specifications to allow for XML validation of jOOQ configuration files --- jOOQ/pom.xml | 2 +- jOOQ/src/main/resources/xjb/binding.xjb | 4 +- .../main/resources/xsd/jooq-export-2.6.0.xsd | 3 +- .../main/resources/xsd/jooq-runtime-3.0.0.xsd | 161 ++++++++++++++++++ 4 files changed, 166 insertions(+), 4 deletions(-) create mode 100644 jOOQ/src/main/resources/xsd/jooq-runtime-3.0.0.xsd diff --git a/jOOQ/pom.xml b/jOOQ/pom.xml index 5c1b98698c..65fa7f9eb1 100644 --- a/jOOQ/pom.xml +++ b/jOOQ/pom.xml @@ -39,7 +39,7 @@ src/main/resources/xsd src/main/resources/xjb - jooq-runtime-2.6.0.xsd + jooq-runtime-3.0.0.xsd org.jooq.conf diff --git a/jOOQ/src/main/resources/xjb/binding.xjb b/jOOQ/src/main/resources/xjb/binding.xjb index 7261121902..6fe24ba378 100644 --- a/jOOQ/src/main/resources/xjb/binding.xjb +++ b/jOOQ/src/main/resources/xjb/binding.xjb @@ -12,12 +12,12 @@ - + - + org.jooq.conf.SettingsBase java.lang.Cloneable diff --git a/jOOQ/src/main/resources/xsd/jooq-export-2.6.0.xsd b/jOOQ/src/main/resources/xsd/jooq-export-2.6.0.xsd index 47a0cd4e8c..7f9713d950 100644 --- a/jOOQ/src/main/resources/xsd/jooq-export-2.6.0.xsd +++ b/jOOQ/src/main/resources/xsd/jooq-export-2.6.0.xsd @@ -2,7 +2,8 @@ + targetNamespace="http://www.jooq.org/xsd/jooq-export-1.6.2.xsd" + elementFormDefault="qualified"> diff --git a/jOOQ/src/main/resources/xsd/jooq-runtime-3.0.0.xsd b/jOOQ/src/main/resources/xsd/jooq-runtime-3.0.0.xsd new file mode 100644 index 0000000000..cd3310d94e --- /dev/null +++ b/jOOQ/src/main/resources/xsd/jooq-runtime-3.0.0.xsd @@ -0,0 +1,161 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file