Author: hardy.ferentschik
Date: 2009-05-12 05:07:18 -0400 (Tue, 12 May 2009)
New Revision: 16540
Added:
beanvalidation/trunk/validation-api/src/test/resources/validation-configuration-1.0.xsd
beanvalidation/trunk/validation-api/src/test/resources/validation-mapping-1.0.xsd
Removed:
beanvalidation/trunk/validation-api/src/main/resources/validation-configuration-1.0.xsd
beanvalidation/trunk/validation-api/src/main/resources/validation-mapping-1.0.xsd
Log:
moved xsd files so that they are no longer part of the jar file
Deleted:
beanvalidation/trunk/validation-api/src/main/resources/validation-configuration-1.0.xsd
===================================================================
---
beanvalidation/trunk/validation-api/src/main/resources/validation-configuration-1.0.xsd 2009-05-11
21:21:29 UTC (rev 16539)
+++
beanvalidation/trunk/validation-api/src/main/resources/validation-configuration-1.0.xsd 2009-05-12
09:07:18 UTC (rev 16540)
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema attributeFormDefault="unqualified"
- elementFormDefault="qualified"
-
targetNamespace="http://jboss.org/xml/ns/javax/validation/configurat...
-
xmlns:xs="http://www.w3.org/2001/XMLSchema"
- version="1.0">
- <xs:element name="validation-config"
type="validation-configType"/>
- <xs:complexType name="validation-configType">
- <xs:sequence>
- <xs:element type="xs:string" name="default-provider"
minOccurs="0"/>
- <xs:element type="xs:string"
name="message-interpolator" minOccurs="0"/>
- <xs:element type="xs:string"
name="traversable-resolver" minOccurs="0"/>
- <xs:element type="xs:string"
name="constraint-validator-factory" minOccurs="0"/>
- <xs:element type="xs:string" name="constraint-mapping"
maxOccurs="unbounded" minOccurs="0"/>
- <xs:element type="propertyType" name="property"
maxOccurs="unbounded" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="propertyType">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="name" use="required"
type="xs:string"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
-</xs:schema>
\ No newline at end of file
Deleted:
beanvalidation/trunk/validation-api/src/main/resources/validation-mapping-1.0.xsd
===================================================================
---
beanvalidation/trunk/validation-api/src/main/resources/validation-mapping-1.0.xsd 2009-05-11
21:21:29 UTC (rev 16539)
+++
beanvalidation/trunk/validation-api/src/main/resources/validation-mapping-1.0.xsd 2009-05-12
09:07:18 UTC (rev 16540)
@@ -1,141 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema attributeFormDefault="unqualified"
- elementFormDefault="qualified"
-
targetNamespace="http://jboss.org/xml/ns/javax/validation/mapping"
-
xmlns:xs="http://www.w3.org/2001/XMLSchema"
- version="1.0">
- <xs:element name="constraint-mappings"
- type="map:constraint-mappingsType"
-
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
-
- <xs:complexType name="groupsType">
- <xs:sequence>
- <xs:element type="xs:string" name="value"
maxOccurs="unbounded" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="groupSequenceType">
- <xs:sequence>
- <xs:element type="xs:string" name="value"
maxOccurs="unbounded" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="constraint-mappingsType">
- <xs:sequence>
- <xs:element type="xs:string" name="default-package"
minOccurs="0"/>
- <xs:element type="map:beanType"
- name="bean"
- maxOccurs="unbounded"
- minOccurs="0"
-
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
- <xs:element type="map:constraint-definitionType"
- name="constraint-definition"
- maxOccurs="unbounded"
- minOccurs="0"
-
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="validated-byType">
- <xs:sequence>
- <xs:element type="xs:string" name="value"
maxOccurs="unbounded" minOccurs="0"/>
- </xs:sequence>
- <xs:attribute type="xs:boolean"
name="include-existing-validators" use="optional"/>
- </xs:complexType>
- <xs:complexType name="constraintType">
- <xs:sequence>
- <xs:element type="xs:string" name="message"
minOccurs="0"/>
- <xs:element type="map:groupsType"
- name="groups"
- minOccurs="0"
-
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
- <xs:element type="map:elementType"
- name="element"
- maxOccurs="unbounded"
- minOccurs="0"
-
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
- </xs:sequence>
- <xs:attribute type="xs:string" name="annotation"
use="required"/>
- </xs:complexType>
- <xs:complexType name="elementType" mixed="true">
- <xs:sequence>
- <xs:element type="xs:string" name="value"
maxOccurs="unbounded" minOccurs="0"/>
- <xs:element type="map:annotationType"
- name="annotation"
- maxOccurs="unbounded"
- minOccurs="0"
-
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
- </xs:sequence>
- <xs:attribute type="xs:string" name="name"
use="required"/>
- </xs:complexType>
- <xs:complexType name="classType">
- <xs:sequence>
- <xs:element type="groupSequenceType"
name="group-sequence" minOccurs="0"/>
- <xs:element type="map:constraintType"
- name="constraint"
- maxOccurs="unbounded"
- minOccurs="0"
-
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
- </xs:sequence>
- <xs:attribute type="xs:boolean" name="ignore-annotations"
use="optional"/>
- </xs:complexType>
- <xs:complexType name="beanType">
- <xs:sequence>
- <xs:element type="map:classType"
- name="class"
- minOccurs="0"
-
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping">
- </xs:element>
- <xs:element type="map:fieldType"
- name="field"
- minOccurs="0"
- maxOccurs="unbounded"
-
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
- <xs:element type="map:getterType"
- name="getter"
- minOccurs="0"
- maxOccurs="unbounded"
-
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
- </xs:sequence>
- <xs:attribute type="xs:string" name="class"
use="required"/>
- <xs:attribute type="xs:boolean" name="ignore-annotations"
use="optional"/>
- </xs:complexType>
- <xs:complexType name="annotationType">
- <xs:sequence>
- <xs:element type="map:elementType"
- name="element"
- maxOccurs="unbounded"
- minOccurs="0"
-
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="getterType">
- <xs:sequence>
- <xs:element type="xs:string" name="valid"
minOccurs="0" fixed=""/>
- <xs:element type="map:constraintType"
- name="constraint"
- minOccurs="0"
- maxOccurs="unbounded"
-
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
- </xs:sequence>
- <xs:attribute type="xs:string" name="name"
use="required"/>
- <xs:attribute type="xs:boolean" name="ignore-annotations"
use="optional"/>
- </xs:complexType>
- <xs:complexType name="constraint-definitionType">
- <xs:sequence>
- <xs:element type="map:validated-byType"
- name="validated-by"
-
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
- </xs:sequence>
- <xs:attribute type="xs:string" name="annotation"
use="required"/>
- </xs:complexType>
- <xs:complexType name="fieldType">
- <xs:sequence>
- <xs:element type="xs:string" name="valid"
minOccurs="0" fixed=""/>
- <xs:element type="map:constraintType"
- name="constraint"
- minOccurs="0"
- maxOccurs="unbounded"
-
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
- </xs:sequence>
- <xs:attribute type="xs:string" name="name"
use="required"/>
- <xs:attribute type="xs:boolean" name="ignore-annotations"
use="optional"/>
- </xs:complexType>
-</xs:schema>
\ No newline at end of file
Copied:
beanvalidation/trunk/validation-api/src/test/resources/validation-configuration-1.0.xsd
(from rev 16400,
beanvalidation/trunk/validation-api/src/main/resources/validation-configuration-1.0.xsd)
===================================================================
---
beanvalidation/trunk/validation-api/src/test/resources/validation-configuration-1.0.xsd
(rev 0)
+++
beanvalidation/trunk/validation-api/src/test/resources/validation-configuration-1.0.xsd 2009-05-12
09:07:18 UTC (rev 16540)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema attributeFormDefault="unqualified"
+ elementFormDefault="qualified"
+
targetNamespace="http://jboss.org/xml/ns/javax/validation/configurat...
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ version="1.0">
+ <xs:element name="validation-config"
type="validation-configType"/>
+ <xs:complexType name="validation-configType">
+ <xs:sequence>
+ <xs:element type="xs:string" name="default-provider"
minOccurs="0"/>
+ <xs:element type="xs:string"
name="message-interpolator" minOccurs="0"/>
+ <xs:element type="xs:string"
name="traversable-resolver" minOccurs="0"/>
+ <xs:element type="xs:string"
name="constraint-validator-factory" minOccurs="0"/>
+ <xs:element type="xs:string" name="constraint-mapping"
maxOccurs="unbounded" minOccurs="0"/>
+ <xs:element type="propertyType" name="property"
maxOccurs="unbounded" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="propertyType">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="name" use="required"
type="xs:string"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+</xs:schema>
\ No newline at end of file
Copied: beanvalidation/trunk/validation-api/src/test/resources/validation-mapping-1.0.xsd
(from rev 16400,
beanvalidation/trunk/validation-api/src/main/resources/validation-mapping-1.0.xsd)
===================================================================
--- beanvalidation/trunk/validation-api/src/test/resources/validation-mapping-1.0.xsd
(rev 0)
+++
beanvalidation/trunk/validation-api/src/test/resources/validation-mapping-1.0.xsd 2009-05-12
09:07:18 UTC (rev 16540)
@@ -0,0 +1,141 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema attributeFormDefault="unqualified"
+ elementFormDefault="qualified"
+
targetNamespace="http://jboss.org/xml/ns/javax/validation/mapping"
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ version="1.0">
+ <xs:element name="constraint-mappings"
+ type="map:constraint-mappingsType"
+
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
+
+ <xs:complexType name="groupsType">
+ <xs:sequence>
+ <xs:element type="xs:string" name="value"
maxOccurs="unbounded" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="groupSequenceType">
+ <xs:sequence>
+ <xs:element type="xs:string" name="value"
maxOccurs="unbounded" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="constraint-mappingsType">
+ <xs:sequence>
+ <xs:element type="xs:string" name="default-package"
minOccurs="0"/>
+ <xs:element type="map:beanType"
+ name="bean"
+ maxOccurs="unbounded"
+ minOccurs="0"
+
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
+ <xs:element type="map:constraint-definitionType"
+ name="constraint-definition"
+ maxOccurs="unbounded"
+ minOccurs="0"
+
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="validated-byType">
+ <xs:sequence>
+ <xs:element type="xs:string" name="value"
maxOccurs="unbounded" minOccurs="0"/>
+ </xs:sequence>
+ <xs:attribute type="xs:boolean"
name="include-existing-validators" use="optional"/>
+ </xs:complexType>
+ <xs:complexType name="constraintType">
+ <xs:sequence>
+ <xs:element type="xs:string" name="message"
minOccurs="0"/>
+ <xs:element type="map:groupsType"
+ name="groups"
+ minOccurs="0"
+
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
+ <xs:element type="map:elementType"
+ name="element"
+ maxOccurs="unbounded"
+ minOccurs="0"
+
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
+ </xs:sequence>
+ <xs:attribute type="xs:string" name="annotation"
use="required"/>
+ </xs:complexType>
+ <xs:complexType name="elementType" mixed="true">
+ <xs:sequence>
+ <xs:element type="xs:string" name="value"
maxOccurs="unbounded" minOccurs="0"/>
+ <xs:element type="map:annotationType"
+ name="annotation"
+ maxOccurs="unbounded"
+ minOccurs="0"
+
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
+ </xs:sequence>
+ <xs:attribute type="xs:string" name="name"
use="required"/>
+ </xs:complexType>
+ <xs:complexType name="classType">
+ <xs:sequence>
+ <xs:element type="groupSequenceType"
name="group-sequence" minOccurs="0"/>
+ <xs:element type="map:constraintType"
+ name="constraint"
+ maxOccurs="unbounded"
+ minOccurs="0"
+
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
+ </xs:sequence>
+ <xs:attribute type="xs:boolean" name="ignore-annotations"
use="optional"/>
+ </xs:complexType>
+ <xs:complexType name="beanType">
+ <xs:sequence>
+ <xs:element type="map:classType"
+ name="class"
+ minOccurs="0"
+
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping">
+ </xs:element>
+ <xs:element type="map:fieldType"
+ name="field"
+ minOccurs="0"
+ maxOccurs="unbounded"
+
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
+ <xs:element type="map:getterType"
+ name="getter"
+ minOccurs="0"
+ maxOccurs="unbounded"
+
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
+ </xs:sequence>
+ <xs:attribute type="xs:string" name="class"
use="required"/>
+ <xs:attribute type="xs:boolean" name="ignore-annotations"
use="optional"/>
+ </xs:complexType>
+ <xs:complexType name="annotationType">
+ <xs:sequence>
+ <xs:element type="map:elementType"
+ name="element"
+ maxOccurs="unbounded"
+ minOccurs="0"
+
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="getterType">
+ <xs:sequence>
+ <xs:element type="xs:string" name="valid"
minOccurs="0" fixed=""/>
+ <xs:element type="map:constraintType"
+ name="constraint"
+ minOccurs="0"
+ maxOccurs="unbounded"
+
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
+ </xs:sequence>
+ <xs:attribute type="xs:string" name="name"
use="required"/>
+ <xs:attribute type="xs:boolean" name="ignore-annotations"
use="optional"/>
+ </xs:complexType>
+ <xs:complexType name="constraint-definitionType">
+ <xs:sequence>
+ <xs:element type="map:validated-byType"
+ name="validated-by"
+
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
+ </xs:sequence>
+ <xs:attribute type="xs:string" name="annotation"
use="required"/>
+ </xs:complexType>
+ <xs:complexType name="fieldType">
+ <xs:sequence>
+ <xs:element type="xs:string" name="valid"
minOccurs="0" fixed=""/>
+ <xs:element type="map:constraintType"
+ name="constraint"
+ minOccurs="0"
+ maxOccurs="unbounded"
+
xmlns:map="http://jboss.org/xml/ns/javax/validation/mapping"/>
+ </xs:sequence>
+ <xs:attribute type="xs:string" name="name"
use="required"/>
+ <xs:attribute type="xs:boolean" name="ignore-annotations"
use="optional"/>
+ </xs:complexType>
+</xs:schema>
\ No newline at end of file