ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1625632 [9/9] - in /webservices/xmlschema/trunk: ./ xmlschema-walker/ xmlschema-walker/src/ xmlschema-walker/src/main/ xmlschema-walker/src/main/java/ xmlschema-walker/src/main/java/org/ xmlschema-walker/src/main/java/org/apache/ xmlschema...
Date Wed, 17 Sep 2014 15:32:46 GMT
Added: webservices/xmlschema/trunk/xmlschema-walker/src/test/java/org/apache/ws/commons/schema/walker/TestXmlSchemaBaseSimpleType.java
URL: http://svn.apache.org/viewvc/webservices/xmlschema/trunk/xmlschema-walker/src/test/java/org/apache/ws/commons/schema/walker/TestXmlSchemaBaseSimpleType.java?rev=1625632&view=auto
==============================================================================
--- webservices/xmlschema/trunk/xmlschema-walker/src/test/java/org/apache/ws/commons/schema/walker/TestXmlSchemaBaseSimpleType.java
(added)
+++ webservices/xmlschema/trunk/xmlschema-walker/src/test/java/org/apache/ws/commons/schema/walker/TestXmlSchemaBaseSimpleType.java
Wed Sep 17 15:32:44 2014
@@ -0,0 +1,236 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ws.commons.schema.walker;
+
+import static org.junit.Assert.*;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.xml.namespace.QName;
+
+import org.apache.ws.commons.schema.constants.Constants;
+import org.apache.ws.commons.schema.walker.XmlSchemaBaseSimpleType;
+import org.junit.BeforeClass;
+import org.junit.Test;
+
+public class TestXmlSchemaBaseSimpleType {
+
+    private static List<QName> nonBaseTypes;
+
+    @BeforeClass
+    public static void setUpNonBaseTypes() {
+        nonBaseTypes = new ArrayList<QName>(28);
+
+        nonBaseTypes.add(Constants.XSD_ANY);
+        nonBaseTypes.add(Constants.XSD_BYTE);
+        nonBaseTypes.add(Constants.XSD_ENTITIES);
+        nonBaseTypes.add(Constants.XSD_ENTITY);
+        nonBaseTypes.add(Constants.XSD_ID);
+        nonBaseTypes.add(Constants.XSD_IDREF);
+        nonBaseTypes.add(Constants.XSD_IDREFS);
+        nonBaseTypes.add(Constants.XSD_INT);
+        nonBaseTypes.add(Constants.XSD_INTEGER);
+        nonBaseTypes.add(Constants.XSD_LANGUAGE);
+        nonBaseTypes.add(Constants.XSD_LONG);
+        nonBaseTypes.add(Constants.XSD_NAME);
+        nonBaseTypes.add(Constants.XSD_NCNAME);
+        nonBaseTypes.add(Constants.XSD_NEGATIVEINTEGER);
+        nonBaseTypes.add(Constants.XSD_NMTOKEN);
+        nonBaseTypes.add(Constants.XSD_NMTOKENS);
+        nonBaseTypes.add(Constants.XSD_NONNEGATIVEINTEGER);
+        nonBaseTypes.add(Constants.XSD_NONPOSITIVEINTEGER);
+        nonBaseTypes.add(Constants.XSD_NORMALIZEDSTRING);
+        nonBaseTypes.add(Constants.XSD_POSITIVEINTEGER);
+        nonBaseTypes.add(Constants.XSD_SCHEMA);
+        nonBaseTypes.add(Constants.XSD_SHORT);
+        nonBaseTypes.add(Constants.XSD_TOKEN);
+        nonBaseTypes.add(Constants.XSD_UNSIGNEDBYTE);
+        nonBaseTypes.add(Constants.XSD_UNSIGNEDINT);
+        nonBaseTypes.add(Constants.XSD_UNSIGNEDLONG);
+        nonBaseTypes.add(Constants.XSD_UNSIGNEDSHORT);
+    }
+
+    @Test
+    public void testMappings() {
+        assertEquals(Constants.XSD_ANYTYPE, XmlSchemaBaseSimpleType.ANYTYPE.getQName());
+
+        assertEquals(Constants.XSD_ANYSIMPLETYPE, XmlSchemaBaseSimpleType.ANYSIMPLETYPE.getQName());
+
+        assertEquals(Constants.XSD_DURATION, XmlSchemaBaseSimpleType.DURATION.getQName());
+
+        assertEquals(Constants.XSD_DATETIME, XmlSchemaBaseSimpleType.DATETIME.getQName());
+
+        assertEquals(Constants.XSD_TIME, XmlSchemaBaseSimpleType.TIME.getQName());
+
+        assertEquals(Constants.XSD_DATE, XmlSchemaBaseSimpleType.DATE.getQName());
+
+        assertEquals(Constants.XSD_YEARMONTH, XmlSchemaBaseSimpleType.YEARMONTH.getQName());
+
+        assertEquals(Constants.XSD_YEAR, XmlSchemaBaseSimpleType.YEAR.getQName());
+
+        assertEquals(Constants.XSD_MONTHDAY, XmlSchemaBaseSimpleType.MONTHDAY.getQName());
+
+        assertEquals(Constants.XSD_DAY, XmlSchemaBaseSimpleType.DAY.getQName());
+
+        assertEquals(Constants.XSD_MONTH, XmlSchemaBaseSimpleType.MONTH.getQName());
+
+        assertEquals(Constants.XSD_STRING, XmlSchemaBaseSimpleType.STRING.getQName());
+
+        assertEquals(Constants.XSD_BOOLEAN, XmlSchemaBaseSimpleType.BOOLEAN.getQName());
+
+        assertEquals(Constants.XSD_BASE64, XmlSchemaBaseSimpleType.BIN_BASE64.getQName());
+
+        assertEquals(Constants.XSD_HEXBIN, XmlSchemaBaseSimpleType.BIN_HEX.getQName());
+
+        assertEquals(Constants.XSD_FLOAT, XmlSchemaBaseSimpleType.FLOAT.getQName());
+
+        assertEquals(Constants.XSD_DECIMAL, XmlSchemaBaseSimpleType.DECIMAL.getQName());
+
+        assertEquals(Constants.XSD_DOUBLE, XmlSchemaBaseSimpleType.DOUBLE.getQName());
+
+        assertEquals(Constants.XSD_ANYURI, XmlSchemaBaseSimpleType.ANYURI.getQName());
+
+        assertEquals(Constants.XSD_QNAME, XmlSchemaBaseSimpleType.QNAME.getQName());
+
+        assertEquals(Constants.XSD_NOTATION, XmlSchemaBaseSimpleType.NOTATION.getQName());
+    }
+
+    @Test
+    public void testReverseMappings() {
+        assertEquals(XmlSchemaBaseSimpleType.ANYTYPE,
+                     XmlSchemaBaseSimpleType.getBaseSimpleTypeFor(Constants.XSD_ANYTYPE));
+
+        assertEquals(XmlSchemaBaseSimpleType.ANYSIMPLETYPE,
+                     XmlSchemaBaseSimpleType.getBaseSimpleTypeFor(Constants.XSD_ANYSIMPLETYPE));
+
+        assertEquals(XmlSchemaBaseSimpleType.DURATION,
+                     XmlSchemaBaseSimpleType.getBaseSimpleTypeFor(Constants.XSD_DURATION));
+
+        assertEquals(XmlSchemaBaseSimpleType.DATETIME,
+                     XmlSchemaBaseSimpleType.getBaseSimpleTypeFor(Constants.XSD_DATETIME));
+
+        assertEquals(XmlSchemaBaseSimpleType.TIME,
+                     XmlSchemaBaseSimpleType.getBaseSimpleTypeFor(Constants.XSD_TIME));
+
+        assertEquals(XmlSchemaBaseSimpleType.DATE,
+                     XmlSchemaBaseSimpleType.getBaseSimpleTypeFor(Constants.XSD_DATE));
+
+        assertEquals(XmlSchemaBaseSimpleType.YEARMONTH,
+                     XmlSchemaBaseSimpleType.getBaseSimpleTypeFor(Constants.XSD_YEARMONTH));
+
+        assertEquals(XmlSchemaBaseSimpleType.YEAR,
+                     XmlSchemaBaseSimpleType.getBaseSimpleTypeFor(Constants.XSD_YEAR));
+
+        assertEquals(XmlSchemaBaseSimpleType.MONTHDAY,
+                     XmlSchemaBaseSimpleType.getBaseSimpleTypeFor(Constants.XSD_MONTHDAY));
+
+        assertEquals(XmlSchemaBaseSimpleType.DAY,
+                     XmlSchemaBaseSimpleType.getBaseSimpleTypeFor(Constants.XSD_DAY));
+
+        assertEquals(XmlSchemaBaseSimpleType.MONTH,
+                     XmlSchemaBaseSimpleType.getBaseSimpleTypeFor(Constants.XSD_MONTH));
+
+        assertEquals(XmlSchemaBaseSimpleType.STRING,
+                     XmlSchemaBaseSimpleType.getBaseSimpleTypeFor(Constants.XSD_STRING));
+
+        assertEquals(XmlSchemaBaseSimpleType.BOOLEAN,
+                     XmlSchemaBaseSimpleType.getBaseSimpleTypeFor(Constants.XSD_BOOLEAN));
+
+        assertEquals(XmlSchemaBaseSimpleType.BIN_BASE64,
+                     XmlSchemaBaseSimpleType.getBaseSimpleTypeFor(Constants.XSD_BASE64));
+
+        assertEquals(XmlSchemaBaseSimpleType.BIN_HEX,
+                     XmlSchemaBaseSimpleType.getBaseSimpleTypeFor(Constants.XSD_HEXBIN));
+
+        assertEquals(XmlSchemaBaseSimpleType.FLOAT,
+                     XmlSchemaBaseSimpleType.getBaseSimpleTypeFor(Constants.XSD_FLOAT));
+
+        assertEquals(XmlSchemaBaseSimpleType.DECIMAL,
+                     XmlSchemaBaseSimpleType.getBaseSimpleTypeFor(Constants.XSD_DECIMAL));
+
+        assertEquals(XmlSchemaBaseSimpleType.DOUBLE,
+                     XmlSchemaBaseSimpleType.getBaseSimpleTypeFor(Constants.XSD_DOUBLE));
+
+        assertEquals(XmlSchemaBaseSimpleType.ANYURI,
+                     XmlSchemaBaseSimpleType.getBaseSimpleTypeFor(Constants.XSD_ANYURI));
+
+        assertEquals(XmlSchemaBaseSimpleType.QNAME,
+                     XmlSchemaBaseSimpleType.getBaseSimpleTypeFor(Constants.XSD_QNAME));
+
+        assertEquals(XmlSchemaBaseSimpleType.NOTATION,
+                     XmlSchemaBaseSimpleType.getBaseSimpleTypeFor(Constants.XSD_NOTATION));
+
+        for (QName nonBaseType : nonBaseTypes) {
+            final XmlSchemaBaseSimpleType simpleType = XmlSchemaBaseSimpleType
+                .getBaseSimpleTypeFor(nonBaseType);
+            assertNull(nonBaseType + " -> " + simpleType, simpleType);
+        }
+    }
+
+    @Test
+    public void testIsBaseSimpleType() {
+        assertTrue(XmlSchemaBaseSimpleType.isBaseSimpleType(Constants.XSD_ANYTYPE));
+
+        assertTrue(XmlSchemaBaseSimpleType.isBaseSimpleType(Constants.XSD_ANYSIMPLETYPE));
+
+        assertTrue(XmlSchemaBaseSimpleType.isBaseSimpleType(Constants.XSD_DURATION));
+
+        assertTrue(XmlSchemaBaseSimpleType.isBaseSimpleType(Constants.XSD_DATETIME));
+
+        assertTrue(XmlSchemaBaseSimpleType.isBaseSimpleType(Constants.XSD_TIME));
+
+        assertTrue(XmlSchemaBaseSimpleType.isBaseSimpleType(Constants.XSD_DATE));
+
+        assertTrue(XmlSchemaBaseSimpleType.isBaseSimpleType(Constants.XSD_YEARMONTH));
+
+        assertTrue(XmlSchemaBaseSimpleType.isBaseSimpleType(Constants.XSD_YEAR));
+
+        assertTrue(XmlSchemaBaseSimpleType.isBaseSimpleType(Constants.XSD_MONTHDAY));
+
+        assertTrue(XmlSchemaBaseSimpleType.isBaseSimpleType(Constants.XSD_DAY));
+
+        assertTrue(XmlSchemaBaseSimpleType.isBaseSimpleType(Constants.XSD_MONTH));
+
+        assertTrue(XmlSchemaBaseSimpleType.isBaseSimpleType(Constants.XSD_STRING));
+
+        assertTrue(XmlSchemaBaseSimpleType.isBaseSimpleType(Constants.XSD_BOOLEAN));
+
+        assertTrue(XmlSchemaBaseSimpleType.isBaseSimpleType(Constants.XSD_BASE64));
+
+        assertTrue(XmlSchemaBaseSimpleType.isBaseSimpleType(Constants.XSD_HEXBIN));
+
+        assertTrue(XmlSchemaBaseSimpleType.isBaseSimpleType(Constants.XSD_FLOAT));
+
+        assertTrue(XmlSchemaBaseSimpleType.isBaseSimpleType(Constants.XSD_DECIMAL));
+
+        assertTrue(XmlSchemaBaseSimpleType.isBaseSimpleType(Constants.XSD_DOUBLE));
+
+        assertTrue(XmlSchemaBaseSimpleType.isBaseSimpleType(Constants.XSD_ANYURI));
+
+        assertTrue(XmlSchemaBaseSimpleType.isBaseSimpleType(Constants.XSD_QNAME));
+
+        assertTrue(XmlSchemaBaseSimpleType.isBaseSimpleType(Constants.XSD_NOTATION));
+
+        for (QName nonBaseType : nonBaseTypes) {
+            assertFalse(nonBaseType.toString(), XmlSchemaBaseSimpleType.isBaseSimpleType(nonBaseType));
+        }
+    }
+}

Propchange: webservices/xmlschema/trunk/xmlschema-walker/src/test/java/org/apache/ws/commons/schema/walker/TestXmlSchemaBaseSimpleType.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: webservices/xmlschema/trunk/xmlschema-walker/src/test/java/org/apache/ws/commons/schema/walker/TestXmlSchemaRestriction.java
URL: http://svn.apache.org/viewvc/webservices/xmlschema/trunk/xmlschema-walker/src/test/java/org/apache/ws/commons/schema/walker/TestXmlSchemaRestriction.java?rev=1625632&view=auto
==============================================================================
--- webservices/xmlschema/trunk/xmlschema-walker/src/test/java/org/apache/ws/commons/schema/walker/TestXmlSchemaRestriction.java
(added)
+++ webservices/xmlschema/trunk/xmlschema-walker/src/test/java/org/apache/ws/commons/schema/walker/TestXmlSchemaRestriction.java
Wed Sep 17 15:32:44 2014
@@ -0,0 +1,384 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ws.commons.schema.walker;
+
+import static org.junit.Assert.*;
+
+import java.util.ArrayList;
+
+import org.apache.ws.commons.schema.XmlSchemaEnumerationFacet;
+import org.apache.ws.commons.schema.XmlSchemaFacet;
+import org.apache.ws.commons.schema.XmlSchemaFractionDigitsFacet;
+import org.apache.ws.commons.schema.XmlSchemaLengthFacet;
+import org.apache.ws.commons.schema.XmlSchemaMaxExclusiveFacet;
+import org.apache.ws.commons.schema.XmlSchemaMaxInclusiveFacet;
+import org.apache.ws.commons.schema.XmlSchemaMaxLengthFacet;
+import org.apache.ws.commons.schema.XmlSchemaMinExclusiveFacet;
+import org.apache.ws.commons.schema.XmlSchemaMinInclusiveFacet;
+import org.apache.ws.commons.schema.XmlSchemaMinLengthFacet;
+import org.apache.ws.commons.schema.XmlSchemaPatternFacet;
+import org.apache.ws.commons.schema.XmlSchemaTotalDigitsFacet;
+import org.apache.ws.commons.schema.XmlSchemaWhiteSpaceFacet;
+import org.apache.ws.commons.schema.walker.XmlSchemaRestriction;
+import org.apache.ws.commons.schema.walker.XmlSchemaScope;
+import org.junit.Test;
+
+public class TestXmlSchemaRestriction {
+
+    @Test
+    public void testWhitespaceCollapseFixed() {
+        XmlSchemaWhiteSpaceFacet collapseFixed = new XmlSchemaWhiteSpaceFacet("collapse",
true);
+
+        assertEquality(collapseFixed, XmlSchemaRestriction.Type.WHITESPACE,
+                       new XmlSchemaRestriction(collapseFixed));
+    }
+
+    @Test
+    public void tesetWhitespaceCollapseNotFixed() {
+        XmlSchemaWhiteSpaceFacet collapseNotFixed = new XmlSchemaWhiteSpaceFacet("collapse",
false);
+
+        assertEquality(collapseNotFixed, XmlSchemaRestriction.Type.WHITESPACE,
+                       new XmlSchemaRestriction(collapseNotFixed));
+
+    }
+
+    @Test
+    public void testWhitespacePreserveFixed() {
+        XmlSchemaWhiteSpaceFacet preserveFixed = new XmlSchemaWhiteSpaceFacet("preserve",
true);
+
+        assertEquality(preserveFixed, XmlSchemaRestriction.Type.WHITESPACE,
+                       new XmlSchemaRestriction(preserveFixed));
+    }
+
+    @Test
+    public void testWhitespacePreserveNotFixed() {
+        XmlSchemaWhiteSpaceFacet preserveNotFixed = new XmlSchemaWhiteSpaceFacet("preserve",
false);
+
+        assertEquality(preserveNotFixed, XmlSchemaRestriction.Type.WHITESPACE,
+                       new XmlSchemaRestriction(preserveNotFixed));
+    }
+
+    @Test
+    public void testWhitespaceReplaceFixed() {
+
+        XmlSchemaWhiteSpaceFacet replaceFixed = new XmlSchemaWhiteSpaceFacet("replace", true);
+
+        assertEquality(replaceFixed, XmlSchemaRestriction.Type.WHITESPACE,
+                       new XmlSchemaRestriction(replaceFixed));
+    }
+
+    @Test
+    public void testWhitespaceReplaceNotFixed() {
+        XmlSchemaWhiteSpaceFacet replaceNotFixed = new XmlSchemaWhiteSpaceFacet("replace",
false);
+
+        assertEquality(replaceNotFixed, XmlSchemaRestriction.Type.WHITESPACE,
+                       new XmlSchemaRestriction(replaceNotFixed));
+    }
+
+    @Test
+    public void testEnumerationFacetFixed() {
+        XmlSchemaEnumerationFacet facet = new XmlSchemaEnumerationFacet("123", true);
+
+        assertEquality(facet, XmlSchemaRestriction.Type.ENUMERATION, new XmlSchemaRestriction(facet));
+    }
+
+    @Test
+    public void testEnumerationFacetNotFixed() {
+        XmlSchemaEnumerationFacet facet = new XmlSchemaEnumerationFacet("avro", false);
+
+        assertEquality(facet, XmlSchemaRestriction.Type.ENUMERATION, new XmlSchemaRestriction(facet));
+    }
+
+    @Test
+    public void testExclusiveMaxFixed() {
+        XmlSchemaMaxExclusiveFacet facet = new XmlSchemaMaxExclusiveFacet(new Integer(1234),
true);
+
+        assertEquality(facet, XmlSchemaRestriction.Type.EXCLUSIVE_MAX, new XmlSchemaRestriction(facet));
+    }
+
+    @Test
+    public void testExclusiveMaxNotFixed() {
+        XmlSchemaMaxExclusiveFacet facet = new XmlSchemaMaxExclusiveFacet(new Integer(1234),
false);
+
+        assertEquality(facet, XmlSchemaRestriction.Type.EXCLUSIVE_MAX, new XmlSchemaRestriction(facet));
+    }
+
+    @Test
+    public void testExclusiveMinFixed() {
+        XmlSchemaMinExclusiveFacet facet = new XmlSchemaMinExclusiveFacet(new Integer(1234),
true);
+
+        assertEquality(facet, XmlSchemaRestriction.Type.EXCLUSIVE_MIN, new XmlSchemaRestriction(facet));
+    }
+
+    @Test
+    public void testExclusiveMinNotFixed() {
+        XmlSchemaMinExclusiveFacet facet = new XmlSchemaMinExclusiveFacet(new Integer(1234),
false);
+
+        assertEquality(facet, XmlSchemaRestriction.Type.EXCLUSIVE_MIN, new XmlSchemaRestriction(facet));
+    }
+
+    @Test
+    public void testInclusiveMinFixed() {
+        XmlSchemaMinInclusiveFacet facet = new XmlSchemaMinInclusiveFacet(new Integer(1234),
true);
+
+        assertEquality(facet, XmlSchemaRestriction.Type.INCLUSIVE_MIN, new XmlSchemaRestriction(facet));
+    }
+
+    @Test
+    public void testInclusiveMinNotFixed() {
+        XmlSchemaMinInclusiveFacet facet = new XmlSchemaMinInclusiveFacet(new Integer(1234),
false);
+
+        assertEquality(facet, XmlSchemaRestriction.Type.INCLUSIVE_MIN, new XmlSchemaRestriction(facet));
+    }
+
+    @Test
+    public void testInclusiveMaxFixed() {
+        XmlSchemaMaxInclusiveFacet facet = new XmlSchemaMaxInclusiveFacet(new Integer(1234),
true);
+
+        assertEquality(facet, XmlSchemaRestriction.Type.INCLUSIVE_MAX, new XmlSchemaRestriction(facet));
+    }
+
+    @Test
+    public void testInclusiveMaxNotFixed() {
+        XmlSchemaMaxInclusiveFacet facet = new XmlSchemaMaxInclusiveFacet(new Integer(1234),
false);
+
+        assertEquality(facet, XmlSchemaRestriction.Type.INCLUSIVE_MAX, new XmlSchemaRestriction(facet));
+    }
+
+    @Test
+    public void testDigitsFractionFixed() {
+        XmlSchemaFractionDigitsFacet facet = new XmlSchemaFractionDigitsFacet(new Integer(0),
true);
+
+        assertEquality(facet, XmlSchemaRestriction.Type.DIGITS_FRACTION, new XmlSchemaRestriction(facet));
+    }
+
+    @Test
+    public void testDigitsFractionNotFixed() {
+        XmlSchemaFractionDigitsFacet facet = new XmlSchemaFractionDigitsFacet(new Integer(0),
false);
+
+        assertEquality(facet, XmlSchemaRestriction.Type.DIGITS_FRACTION, new XmlSchemaRestriction(facet));
+    }
+
+    @Test
+    public void testDigitsTotalFixed() {
+        XmlSchemaTotalDigitsFacet facet = new XmlSchemaTotalDigitsFacet(new Integer(0), true);
+
+        assertEquality(facet, XmlSchemaRestriction.Type.DIGITS_TOTAL, new XmlSchemaRestriction(facet));
+    }
+
+    @Test
+    public void testDigitsTotalNotFixed() {
+        XmlSchemaTotalDigitsFacet facet = new XmlSchemaTotalDigitsFacet(new Integer(0), false);
+
+        assertEquality(facet, XmlSchemaRestriction.Type.DIGITS_TOTAL, new XmlSchemaRestriction(facet));
+    }
+
+    @Test
+    public void testPatternFacetFixed() {
+        XmlSchemaPatternFacet facet = new XmlSchemaPatternFacet("[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",
true);
+
+        assertEquality(facet, XmlSchemaRestriction.Type.PATTERN, new XmlSchemaRestriction(facet));
+    }
+
+    @Test
+    public void testPatternFacetNotFixed() {
+        XmlSchemaPatternFacet facet = new XmlSchemaPatternFacet("[\\i-[:]][\\c-[:]]*", false);
+
+        assertEquality(facet, XmlSchemaRestriction.Type.PATTERN, new XmlSchemaRestriction(facet));
+    }
+
+    @Test
+    public void testLengthFacetFixed() {
+        XmlSchemaLengthFacet facet = new XmlSchemaLengthFacet(new Integer(1), true);
+
+        assertEquality(facet, XmlSchemaRestriction.Type.LENGTH, new XmlSchemaRestriction(facet));
+    }
+
+    @Test
+    public void testLengthFacetNotFixed() {
+        XmlSchemaLengthFacet facet = new XmlSchemaLengthFacet(new Integer(1000), false);
+
+        assertEquality(facet, XmlSchemaRestriction.Type.LENGTH, new XmlSchemaRestriction(facet));
+    }
+
+    @Test
+    public void testLengthMinFacetFixed() {
+        XmlSchemaMinLengthFacet facet = new XmlSchemaMinLengthFacet(new Integer(1), true);
+
+        assertEquality(facet, XmlSchemaRestriction.Type.LENGTH_MIN, new XmlSchemaRestriction(facet));
+    }
+
+    @Test
+    public void testLengthMinFacetNotFixed() {
+        XmlSchemaMinLengthFacet facet = new XmlSchemaMinLengthFacet(new Integer(10), false);
+
+        assertEquality(facet, XmlSchemaRestriction.Type.LENGTH_MIN, new XmlSchemaRestriction(facet));
+    }
+
+    @Test
+    public void testLengthMaxFacetFixed() {
+        XmlSchemaMaxLengthFacet facet = new XmlSchemaMaxLengthFacet(new Integer(256), true);
+
+        assertEquality(facet, XmlSchemaRestriction.Type.LENGTH_MAX, new XmlSchemaRestriction(facet));
+    }
+
+    @Test
+    public void testLengthMaxFacetNotFixed() {
+        XmlSchemaMaxLengthFacet facet = new XmlSchemaMaxLengthFacet(new Integer(128), false);
+
+        assertEquality(facet, XmlSchemaRestriction.Type.LENGTH_MAX, new XmlSchemaRestriction(facet));
+    }
+
+    @Test
+    public void testTypeConstructor() {
+        XmlSchemaRestriction rstr = new XmlSchemaRestriction(XmlSchemaRestriction.Type.DIGITS_TOTAL);
+
+        assertEquals(XmlSchemaRestriction.Type.DIGITS_TOTAL, rstr.getType());
+        assertNull(rstr.getValue());
+        assertFalse(rstr.isFixed());
+    }
+
+    @Test
+    public void testFullConstructor() {
+        XmlSchemaRestriction rstr = new XmlSchemaRestriction(XmlSchemaRestriction.Type.PATTERN,
+                                                             "[\\-+]?[0-9]+", true);
+
+        assertEquals(XmlSchemaRestriction.Type.PATTERN, rstr.getType());
+        assertEquals("[\\-+]?[0-9]+", rstr.getValue());
+        assertTrue(rstr.isFixed());
+    }
+
+    @Test
+    public void testSetters() {
+        XmlSchemaRestriction rstr = new XmlSchemaRestriction(XmlSchemaRestriction.Type.WHITESPACE,
+                                                             "collapse", true);
+
+        assertEquals(XmlSchemaRestriction.Type.WHITESPACE, rstr.getType());
+        assertEquals("collapse", rstr.getValue());
+        assertTrue(rstr.isFixed());
+
+        rstr.setValue("replace");
+
+        assertEquals(XmlSchemaRestriction.Type.WHITESPACE, rstr.getType());
+        assertEquals("replace", rstr.getValue());
+        assertTrue(rstr.isFixed());
+
+        rstr.setFixed(false);
+
+        assertEquals(XmlSchemaRestriction.Type.WHITESPACE, rstr.getType());
+        assertEquals("replace", rstr.getValue());
+        assertFalse(rstr.isFixed());
+    }
+
+    /**
+     * Enumerations are the only restriction where the value and fixedness
+     * factor into the equality check and hash code generation. When building
+     * {@link XmlSchemaScope}s, only {@link XmlSchemaEnumerationFacet}s are
+     * allowed to have multiple values.
+     */
+    @Test
+    public void testEnumerationEqualsAndHashCode() {
+        XmlSchemaRestriction enum1 = new XmlSchemaRestriction(XmlSchemaRestriction.Type.ENUMERATION);
+
+        XmlSchemaRestriction enum2 = new XmlSchemaRestriction(XmlSchemaRestriction.Type.ENUMERATION,
"avro",
+                                                              false);
+
+        assertFalse(enum1.equals(enum2));
+        assertFalse(enum1.hashCode() == enum2.hashCode());
+
+        enum1.setValue("avro");
+        assertTrue(enum1.equals(enum2));
+        assertTrue(enum1.hashCode() == enum2.hashCode());
+
+        enum2.setFixed(true);
+
+        assertFalse(enum1.equals(enum2));
+        assertFalse(enum1.hashCode() == enum2.hashCode());
+
+        enum1.setFixed(true);
+
+        assertTrue(enum1.equals(enum2));
+        assertTrue(enum1.hashCode() == enum2.hashCode());
+    }
+
+    public void testPatternEqualsAndHashCode() {
+        XmlSchemaRestriction pattern1 = new XmlSchemaRestriction(XmlSchemaRestriction.Type.PATTERN);
+
+        XmlSchemaRestriction pattern2 = new XmlSchemaRestriction(XmlSchemaRestriction.Type.PATTERN,
+                                                                 "\\i\\c*", false);
+
+        assertFalse(pattern1.equals(pattern2));
+        assertFalse(pattern1.hashCode() == pattern2.hashCode());
+
+        pattern1.setValue("\\i\\c*");
+        assertTrue(pattern1.equals(pattern2));
+        assertTrue(pattern1.hashCode() == pattern2.hashCode());
+
+        pattern2.setFixed(true);
+
+        assertFalse(pattern1.equals(pattern2));
+        assertFalse(pattern1.hashCode() == pattern2.hashCode());
+
+        pattern1.setFixed(true);
+
+        assertTrue(pattern1.equals(pattern2));
+        assertTrue(pattern1.hashCode() == pattern2.hashCode());
+    }
+
+    @Test
+    public void testAllOtherEqualsAndHashCode() {
+        ArrayList<XmlSchemaRestriction.Type> allOtherTypes = new ArrayList<XmlSchemaRestriction.Type>(11);
+
+        allOtherTypes.add(XmlSchemaRestriction.Type.EXCLUSIVE_MAX);
+        allOtherTypes.add(XmlSchemaRestriction.Type.EXCLUSIVE_MIN);
+        allOtherTypes.add(XmlSchemaRestriction.Type.INCLUSIVE_MAX);
+        allOtherTypes.add(XmlSchemaRestriction.Type.INCLUSIVE_MIN);
+        allOtherTypes.add(XmlSchemaRestriction.Type.DIGITS_FRACTION);
+        allOtherTypes.add(XmlSchemaRestriction.Type.DIGITS_TOTAL);
+        allOtherTypes.add(XmlSchemaRestriction.Type.WHITESPACE);
+        allOtherTypes.add(XmlSchemaRestriction.Type.LENGTH);
+        allOtherTypes.add(XmlSchemaRestriction.Type.LENGTH_MIN);
+        allOtherTypes.add(XmlSchemaRestriction.Type.LENGTH_MAX);
+
+        for (XmlSchemaRestriction.Type type : allOtherTypes) {
+            XmlSchemaRestriction rstr1 = new XmlSchemaRestriction(type);
+
+            XmlSchemaRestriction rstr2 = new XmlSchemaRestriction(type, "1234", false);
+
+            assertTrue(rstr1.equals(rstr2));
+            assertTrue(rstr1.hashCode() == rstr2.hashCode());
+
+            rstr1.setValue(new Integer(0));
+
+            assertTrue(rstr1.equals(rstr2));
+            assertTrue(rstr1.hashCode() == rstr2.hashCode());
+        }
+    }
+
+    private static void assertEquality(XmlSchemaFacet expFacet, XmlSchemaRestriction.Type
expType,
+                                       XmlSchemaRestriction actual) {
+
+        assertEquals("Expected Type: " + expType + "; Actual Type: " + actual.getType(),
expType,
+                     actual.getType());
+
+        assertEquals(expType.toString(), expFacet.getValue(), actual.getValue());
+        assertEquals(expType.toString(), expFacet.isFixed(), actual.isFixed());
+    }
+}

Propchange: webservices/xmlschema/trunk/xmlschema-walker/src/test/java/org/apache/ws/commons/schema/walker/TestXmlSchemaRestriction.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/complex_schema.xsd
URL: http://svn.apache.org/viewvc/webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/complex_schema.xsd?rev=1625632&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/complex_schema.xsd
------------------------------------------------------------------------------
    svn:mime-type = application/xml

Added: webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/complex_test1.xml
URL: http://svn.apache.org/viewvc/webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/complex_test1.xml?rev=1625632&view=auto
==============================================================================
--- webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/complex_test1.xml (added)
+++ webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/complex_test1.xml Wed
Sep 17 15:32:44 2014
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License. 
+ -->
+ <avro:realRoot day="---12" month="--08" xmlns:avro="urn:avro:complex_schema" xmlns:test="http://avro.apache.org/AvroTest"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:avro:complex_schema
complex_schema.xsd http://avro.apache.org/AvroTest test_schema.xsd"  year="2014">
+  <avro:backtrack>
+    <avro:qName xmlns:iso4217="http://www.xbrl.org/2003/iso4217">iso4217:USD</avro:qName>
+    <avro:avroEnum>avro</avro:avroEnum>
+    <avro:xmlEnum>thrift</avro:xmlEnum>
+    <avro:xmlEnum>rest.li</avro:xmlEnum>
+    <avro:unsignedLongList>1 2 345 67890 1234567890 12345678901234567890</avro:unsignedLongList>
+    <avro:listOfUnion>true false hello goodbye 1234567890 -2147483648 2147483649</avro:listOfUnion>
+  </avro:backtrack>
+  <avro:allTheThings id="idvalue0">
+    <avro:secondMap id="idvalue2" value="Second Map Value"/>
+    <avro:firstMap id="idvalue1">
+      <avro:value />
+      <avro:value xsi:nil="true" />
+    </avro:firstMap>
+  </avro:allTheThings>
+  <avro:prohibit>
+    <avro:fixed/>
+  </avro:prohibit>
+  <avro:anyAndFriends>
+    This is a mixed element
+  	<test:list>
+  		<test:record>
+  			<test:primitive>float</test:primitive>
+  		</test:record>
+  	</test:list>
+  	interspersed with wildcard elements.
+  	<test:primitive>null</test:primitive>
+  	Since the wildcard elements are filtered
+  	<test:primitive>boolean</test:primitive>
+  	away, the final Avro document should
+  	<test:primitive>int</test:primitive>
+  	only contain this text.
+  	<avro:xmlEnum>json</avro:xmlEnum>
+  	<avro:avroEnum>json</avro:avroEnum>
+  	(If I did it right.)
+  </avro:anyAndFriends>
+  <avro:simpleExtension default="named">true</avro:simpleExtension>
+  <avro:simpleRestriction>false</avro:simpleRestriction>
+  <avro:complexExtension>
+  	<avro:fixed />
+  	<avro:unsignedLongList>1 2 4 5 6</avro:unsignedLongList>
+  </avro:complexExtension>
+  <avro:mixedType>
+  	Hello, my name is
+  	<avro:listOfUnion>Mike and I</avro:listOfUnion>
+  	welcome you to this mixed element with
+  	<avro:unsignedLongList>2</avro:unsignedLongList>
+  	sub-elements.
+  </avro:mixedType>
+</avro:realRoot>

Propchange: webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/complex_test1.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/complex_test1.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/test1_root.xml
URL: http://svn.apache.org/viewvc/webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/test1_root.xml?rev=1625632&view=auto
==============================================================================
--- webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/test1_root.xml (added)
+++ webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/test1_root.xml Wed Sep
17 15:32:44 2014
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License. 
+ -->
+<avro:root
+  anyURI="http://tempuri.org"
+  base64Binary="MA=="
+  boolean="true"
+  byte="57"
+  date="2014-07-27"
+  dateTime="2014-07-27T12:47:30"
+  decimal="65536"
+  double="32768.32768"
+  duration="P1D"
+  float="0.0"
+  gDay="---27"
+  gMonth="--07"
+  gMonthDay="--07-27"
+  gYear="2014"
+  gYearMonth="2014-07"
+  hexBinary="0F00"
+  id="idvalue0"
+  idref="idvalue0"
+  idrefs="idvalue0"
+  int="2147483647"
+  integer="9223372036854775808"
+  language="EN"
+  long="9223372036854775807"
+  name="Name"
+  ncName="NCName"
+  negativeInteger="-9223372036854775808"
+  nmtoken="NMTOKEN"
+  nmtokens="NMTOKENS"
+  nonNegativeInteger="9223372036854775808"
+  nonPositiveInteger="-9223372036854775808"
+  normalizedString="xmlIsFun"
+  positiveInteger="9223372036854775808"
+  qname="QName"
+  short="-32768"
+  string="hello"
+  time="12:47:30"
+  token="xmlSchema"
+  unsignedByte="255"
+  unsignedInt="4294967295"
+  unsignedLong="18446744073709551615"
+  unsignedShort="65535"
+  xmlns:avro="http://avro.apache.org/AvroTest"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://avro.apache.org/AvroTest test_schema.xsd ">
+
+</avro:root>

Propchange: webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/test1_root.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/test1_root.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/test2_children.xml
URL: http://svn.apache.org/viewvc/webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/test2_children.xml?rev=1625632&view=auto
==============================================================================
--- webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/test2_children.xml (added)
+++ webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/test2_children.xml Wed
Sep 17 15:32:44 2014
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License. 
+ -->
+<avro:root
+  anyURI="http://tempuri.org"
+  base64Binary="MA=="
+  boolean="true"
+  byte="57"
+  date="2014-07-27"
+  dateTime="2014-07-27T12:47:30"
+  decimal="65536"
+  double="32768.32768"
+  duration="P1D"
+  float="0.0"
+  gDay="---27"
+  gMonth="--07"
+  gMonthDay="--07-27"
+  gYear="2014"
+  gYearMonth="2014-07"
+  hexBinary="0F00"
+  id="idvalue0"
+  idref="idvalue0"
+  idrefs="idvalue0"
+  int="2147483647"
+  integer="9223372036854775808"
+  language="EN"
+  long="9223372036854775807"
+  name="Name"
+  ncName="NCName"
+  negativeInteger="-9223372036854775808"
+  nmtoken="NMTOKEN"
+  nmtokens="NMTOKENS"
+  nonNegativeInteger="9223372036854775808"
+  nonPositiveInteger="-9223372036854775808"
+  normalizedString="xmlIsFun"
+  positiveInteger="9223372036854775808"
+  qname="QName"
+  short="-32768"
+  string=""
+  time="12:47:30"
+  token="xmlSchema"
+  unsignedByte="255"
+  unsignedInt="4294967295"
+  unsignedLong="18446744073709551615"
+  unsignedShort="65535"
+  xmlns:avro="http://avro.apache.org/AvroTest"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://avro.apache.org/AvroTest test_schema.xsd ">
+
+	<avro:primitive>null</avro:primitive>
+	<avro:primitive>boolean</avro:primitive>
+	<avro:primitive>int</avro:primitive>
+	<avro:primitive>long</avro:primitive>
+	<avro:primitive>float</avro:primitive>
+	<avro:primitive>double</avro:primitive>
+	<avro:primitive>decimal</avro:primitive>
+	<avro:primitive>bytes</avro:primitive>
+	<avro:primitive>string</avro:primitive>
+	<avro:nonNullPrimitive>boolean</avro:nonNullPrimitive>
+	<avro:nonNullPrimitive>int</avro:nonNullPrimitive>
+	<avro:nonNullPrimitive>long</avro:nonNullPrimitive>
+	<avro:nonNullPrimitive>float</avro:nonNullPrimitive>
+	<avro:nonNullPrimitive>double</avro:nonNullPrimitive>
+	<avro:nonNullPrimitive>decimal</avro:nonNullPrimitive>
+	<avro:nonNullPrimitive>bytes</avro:nonNullPrimitive>
+	<avro:nonNullPrimitive>string</avro:nonNullPrimitive>
+</avro:root>

Propchange: webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/test2_children.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/test2_children.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/test3_grandchildren.xml
URL: http://svn.apache.org/viewvc/webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/test3_grandchildren.xml?rev=1625632&view=auto
==============================================================================
--- webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/test3_grandchildren.xml
(added)
+++ webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/test3_grandchildren.xml
Wed Sep 17 15:32:44 2014
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License. 
+ -->
+<avro:root
+  xmlns:avro="http://avro.apache.org/AvroTest"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://avro.apache.org/AvroTest test_schema.xsd ">
+
+	<avro:primitive>decimal</avro:primitive>
+	<avro:nonNullPrimitive>int</avro:nonNullPrimitive>
+	<avro:map avro:id="id1">
+		<avro:primitive>double</avro:primitive>
+		<avro:nonNullPrimitive>float</avro:nonNullPrimitive>
+	</avro:map>
+	<avro:map avro:id="id2">
+		<avro:primitive>null</avro:primitive>
+	</avro:map>
+	<avro:record>
+		<avro:nonNullPrimitive>decimal</avro:nonNullPrimitive>
+	</avro:record>
+	<avro:map avro:id="id3">
+		<avro:primitive>string</avro:primitive>
+		<avro:map avro:id="id4">
+			<avro:nonNullPrimitive>string</avro:nonNullPrimitive>
+		</avro:map>
+		<avro:map avro:id="id5">
+			<avro:primitive>long</avro:primitive>
+		</avro:map>
+	</avro:map>
+	<avro:nonNullPrimitive>long</avro:nonNullPrimitive>
+	<avro:nonNullPrimitive>boolean</avro:nonNullPrimitive>
+</avro:root>

Propchange: webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/test3_grandchildren.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/test3_grandchildren.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/test_schema.xsd
URL: http://svn.apache.org/viewvc/webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/test_schema.xsd?rev=1625632&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/xmlschema/trunk/xmlschema-walker/src/test/resources/test_schema.xsd
------------------------------------------------------------------------------
    svn:mime-type = application/xml



Mime
View raw message