Add test case to disprove alleged problem.


git-svn-id: https://svn.apache.org/repos/asf/webservices/commons/branches/modules/XmlSchema/1_4_X_BRANCH@764061 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index d799b0b..64c0c07 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,6 +21,7 @@
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.apache.ws.commons.schema</groupId>
   <artifactId>XmlSchema</artifactId>
+  <packaging>bundle</packaging>
   <name>XmlSchema</name>
   <version>1.4-SNAPSHOT</version>
   <description>Commons XMLSchema is a light weight schema object model that can be used to manipulate or
@@ -112,6 +113,18 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+          <groupId>org.apache.felix</groupId>
+          <artifactId>maven-bundle-plugin</artifactId>
+          <version>2.0.0</version>
+          <extensions>true</extensions>
+          <configuration>
+              <instructions>
+                  <Import-Package>org.apache.ws.commons.schema*;version=${pom.version},*</Import-Package>
+                  <Export-Package>org.apache.ws.commons.schema*;version="${pom.version}"</Export-Package>
+              </instructions>
+          </configuration>
+      </plugin>
     </plugins>
     <defaultGoal>install</defaultGoal>
     <pluginManagement>
diff --git a/src/main/java/org/apache/ws/commons/schema/XmlSchemaSerializer.java b/src/main/java/org/apache/ws/commons/schema/XmlSchemaSerializer.java
index 3a564d9..71e79e6 100644
--- a/src/main/java/org/apache/ws/commons/schema/XmlSchemaSerializer.java
+++ b/src/main/java/org/apache/ws/commons/schema/XmlSchemaSerializer.java
@@ -74,8 +74,8 @@
 
     private Hashtable schema_ns;
 
-    static String xsdPrefix = "xs";
-    public static final String xsdNamespace = "http://www.w3.org/2001/XMLSchema";
+    String xsdPrefix = "xs";
+    String xsdNamespace = "http://www.w3.org/2001/XMLSchema";
     ArrayList docs;
     Element schemaElement;
 
@@ -125,16 +125,12 @@
         if (schemaObj.syntacticalTargetNamespace != null) {
             serializedSchema.setAttribute("targetNamespace", schemaObj.syntacticalTargetNamespace);
 
-            Object targetNS =
-                    schema_ns.get(schemaObj.syntacticalTargetNamespace);
+            String targetNS =
+                    (String)schema_ns.get(schemaObj.syntacticalTargetNamespace);
 
             //if the namespace is not entered then add 
-            //the targetNamespace as its
+            //the targetNamespace
             if (targetNS == null) {
-                if(!Constants.XMLNS_URI.equals(schemaObj.syntacticalTargetNamespace)){
-                    serializedSchema.setAttributeNS(XMLNS_NAMESPACE_URI,
-                            "xmlns", schemaObj.syntacticalTargetNamespace);
-                }
                 String prefix = null;
                 if(schemaObj.getNamespaceContext() != null) {
                     prefix = schemaObj.getNamespaceContext().getPrefix(schemaObj.syntacticalTargetNamespace);
@@ -142,8 +138,34 @@
                 if(prefix == null && schemaObj.parent != null && schemaObj.parent.getNamespaceContext() != null) {
                     prefix = schemaObj.parent.getNamespaceContext().getPrefix(schemaObj.syntacticalTargetNamespace);
                 }
+                //check if the chosen prefix is ok
                 if(prefix == null) {
-                    prefix = "";
+                    if (serializedSchema.getAttributeNode("xmlns") == null) {
+                        prefix = "";
+                    }
+                } else {
+                    String ns = serializedSchema.getAttribute("xmlns:" + prefix);
+                    if (ns != null && !"".equals(ns)) {
+                        prefix = null;
+                    }                    
+                }
+                if (prefix == null) {
+                    //find a usable prefix
+                    int count = 0;
+                    prefix = "tns";
+                    String ns = serializedSchema.getAttribute("xmlns:" + prefix);
+                    while (ns != null && !"".equals(ns)) {
+                        ++count;
+                        prefix = "tns" + count;
+                        ns = serializedSchema.getAttribute("xmlns:" + prefix);
+                    }
+                } 
+                if ("".equals(prefix)) {
+                    serializedSchema.setAttributeNS(XMLNS_NAMESPACE_URI,
+                                                    "xmlns", schemaObj.syntacticalTargetNamespace);
+                } else {
+                    serializedSchema.setAttributeNS(XMLNS_NAMESPACE_URI,
+                                                    "xmlns:" + prefix, schemaObj.syntacticalTargetNamespace);
                 }
                 schema_ns.put(schemaObj.syntacticalTargetNamespace, prefix);
             }
@@ -194,18 +216,6 @@
             serializedSchema.setAttribute("version", schemaObj.version);
         }
 
-        //add the extra namespace decalarations if any are available
-        NamespacePrefixList ctx = schemaObj.getNamespaceContext();
-        String[] prefixes = ctx.getDeclaredPrefixes();
-        for (int i = 0;  i < prefixes.length;  i++) {
-            String prefix = prefixes[i];
-            String uri = ctx.getNamespaceURI(prefix);
-            if (!Constants.DEFAULT_NS_PREFIX.equals(prefix)) {
-                serializedSchema.setAttributeNS(Constants.XMLNS_ATTRIBUTE_NS_URI,
-                        Constants.XMLNS_ATTRIBUTE + ":" + prefix, uri);
-            }
-        }
-
         //after serialize the schema add into documentation
         //and add to document collection array  which at the end 
         //returned
@@ -300,39 +310,50 @@
      */
     private Element setupNamespaces(Document schemaDocs, XmlSchema schemaObj) {
         NamespacePrefixList ctx = schemaObj.getNamespaceContext();
-        schemaObj.schema_ns_prefix = xsdPrefix = ctx.getPrefix(xsdNamespace);
+        schemaObj.schema_ns_prefix = xsdPrefix = ctx == null ? null : ctx.getPrefix(xsdNamespace);
         if(xsdPrefix == null) {
-            schemaObj.schema_ns_prefix = xsdPrefix = "";
+            //find a prefix to use
+            xsdPrefix = "";
+            if (ctx != null && ctx.getNamespaceURI(xsdPrefix) != null) {
+                xsdPrefix = "xsd";
+            }
+            int count = 0;
+            while (ctx != null && ctx.getNamespaceURI(xsdPrefix) != null) {
+                xsdPrefix = "xsd" + ++count;
+            }
+            schemaObj.schema_ns_prefix = xsdPrefix;
         }
-        String[] prefixes = ctx.getDeclaredPrefixes();
-        for (int i = 0;  i < prefixes.length;  i++) {
-            String prefix = prefixes[i];
-            String uri = ctx.getNamespaceURI(prefix);
-            if(uri != null && prefix != null) {
-                schema_ns.put(uri, prefix);
+
+        Element schemaEl = createNewElement(schemaDocs, "schema",
+                                            schemaObj.schema_ns_prefix, XmlSchema.SCHEMA_NS);
+
+        if (ctx != null) {
+            String[] prefixes = ctx.getDeclaredPrefixes();
+            for (int i = 0;  i < prefixes.length;  i++) {
+                String prefix = prefixes[i];
+                String uri = ctx.getNamespaceURI(prefix);
+                if (uri != null && prefix != null) {
+                    if ("".equals(prefix) || !schema_ns.containsKey(uri)) {
+                        schema_ns.put(uri, prefix);
+                    }
+                    prefix = (prefix.length() > 0) ? "xmlns:" + prefix : "xmlns";                
+                    schemaEl.setAttributeNS(XMLNS_NAMESPACE_URI,
+                                            prefix, uri);
+                }
             }
         }
         //for schema that not set the xmlns attrib member
         if (schema_ns.get(xsdNamespace) == null) {
             schema_ns.put(xsdNamespace, xsdPrefix);
+            if ("".equals(xsdPrefix)) {
+                schemaEl.setAttributeNS(XMLNS_NAMESPACE_URI,
+                                        "xmlns", xsdNamespace);
+            } else {
+                schemaEl.setAttributeNS(XMLNS_NAMESPACE_URI,
+                                        "xmlns:" + xsdPrefix, xsdNamespace);                
+            }
             schemaObj.schema_ns_prefix = xsdPrefix;
         }
-
-        Element schemaEl = createNewElement(schemaDocs, "schema",
-                schemaObj.schema_ns_prefix, XmlSchema.SCHEMA_NS);
-
-        Iterator entries = schema_ns.entrySet().iterator();
-
-        while (entries.hasNext()) {
-            //let it crash for null pointer because then either the schema
-            //is wrong(namespace not set properly or bug in setting ns)
-            Map.Entry entry = (Map.Entry) entries.next();
-            String key = entry.getKey().toString();
-            String value = entry.getValue().toString();
-            value = (value.length() > 0) ? "xmlns:" + value : "xmlns";
-            schemaEl.setAttributeNS(XMLNS_NAMESPACE_URI,
-                    value, key);
-        }
         return schemaEl;
     }
 
diff --git a/src/main/resources/META-INF/MANIFEST.MF b/src/main/resources/META-INF/MANIFEST.MF
deleted file mode 100644
index a6e8008..0000000
--- a/src/main/resources/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,23 +0,0 @@
-Manifest-Version: 1.0

-Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt

-Import-Package: 

- javax.xml.namespace,

- javax.xml.parsers,

- javax.xml.transform,

- javax.xml.transform.dom,

- javax.xml.transform.sax,

- javax.xml.transform.stream,

- org.w3c.dom,

- org.xml.sax

-Export-Package: 

- org.apache.ws.commons.schema,

- org.apache.ws.commons.schema.resolver,

- org.apache.ws.commons.schema.utils,

- org.apache.ws.commons.schema.constants,

- org.apache.ws.commons.schema.extensions

-Bundle-Version: ${project.version}

-Bundle-Name: XmlSchema

-Bundle-DocURL: http://www.apache.org/

-Bundle-ManifestVersion: 2

-Bundle-Vendor: Apache Software Foundation

-Bundle-SymbolicName: org.apache.ws.commons.schema
\ No newline at end of file
diff --git a/src/site/apt/index.apt b/src/site/apt/index.apt
index 62a18ba..684c4d9 100644
--- a/src/site/apt/index.apt
+++ b/src/site/apt/index.apt
@@ -15,9 +15,9 @@
 

 Downloads

 

-  The latest release is 1.4.3 and can be found

+  The latest release is 1.4.4 and can be found

   {{{http://ws.apache.org/commons/XmlSchema/download.cgi}here}}.

 

 

   

-  -The XMLSchema Development Team (commons-dev at ws.apache.org)
\ No newline at end of file
+  -The XMLSchema Development Team (commons-dev at ws.apache.org)

diff --git a/src/site/xdoc/download.xml b/src/site/xdoc/download.xml
index 057f997..88c5dda 100644
--- a/src/site/xdoc/download.xml
+++ b/src/site/xdoc/download.xml
@@ -1,550 +1,413 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>

-

-<!--

-  ~ 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.

-  -->

-

-<document>

-    <properties>

-        <title>:: Apache XmlSchema Releases ::</title>

-    </properties>

-

-    <head>

-        <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>

-        <meta content="text/html; charset=iso-8859-1"/>

-    </head>

-

-    <body>

-

-        <section>

-            <h2>Releases</h2>

-            <div align="left">

-                <p>XmlSchema is becoming more and more stable and the latest official version available for download is

-                    XmlSchema 1.4.3. All the releases are available for download as source or binary. For more information,

-                    please see

-                    <a href="http://www.apache.org/dev/release.html">Apache Release FAQ</a>

-                </p>

-                <p>Please select the XmlSchema version you want to download.</p>

-            </div>

-            <div align="center">

-

-                <table class="bodyTable">

-                    <tbody>

-                        <tr class="a">

-                            <td align="center" width="45">Name</td>

-                            <td align="center" width="80">Type</td>

-                            <td align="center" width="300">Distribution</td>

-                            <td align="center" width="100">Date</td>

-                            <td align="center" width="200">Description</td>

-                        </tr>

-

-  <tr class="b">

-                                                      <td align="center" valign="middle">

-                                                         1.4.3

-                                                       </td>

-                                                           <td align="center">Release</td>

-                                                           <td>Source Distribution

-                                                                <a href="[preferred]/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.3-src.zip"

-                                                                                   title="[preferred]/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-src.zip">zip</a>

-

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-src.zip.md5"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-src.zip.md5">MD5</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-src.zip.asc"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-src.zip.asc">PGP</a>

-                                                                  <br/>

-                                                                  Binary Distribution

-                                                                  <a href="[preferred]/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-bin.zip"

-                                                                                   title="[preferred]/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-bin.zip">zip</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-bin.zip.md5"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-bin.zip.md5">MD5</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-bin.zip.asc"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-bin.zip.asc">

-                                                                                    PGP</a>

-                                                                  <br/>

-                                                                  Documents Distribution

-                                                                  <a href="[preferred]/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-docs.zip"

-                                                                                   title="[preferred]/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-docs.zip">zip</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-docs.zip.md5"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-docs.zip.md5">MD5</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-docs.zip.asc"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-docs.zip.asc">

-                                                                                    PGP</a>

-                                                                  <br/>

-                                                                  </td>

-                                                                  <td>12 - 11 - 2008</td>

-                                                                  <td>1.4.3 Release (Mirrored)</td>

-                                                                 </tr>

-

-    <tr class="b">

-                                                      <td align="center" valign="middle">

-                                                         1.4.2

-                                                       </td>

-                                                           <td align="center">Release</td>

-                                                           <td>Source Distribution

-                                                                <a href="[preferred]/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-src.zip"

-                                                                                   title="[preferred]/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-src.zip">zip</a>

-

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-src.zip.md5"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-src.zip.md5">MD5</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-src.zip.asc"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-src.zip.asc">PGP</a>

-                                                                  <br/>

-                                                                  Binary Distribution

-                                                                  <a href="[preferred]/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-bin.zip"

-                                                                                   title="[preferred]/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-bin.zip">zip</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-bin.zip.md5"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-bin.zip.md5">MD5</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-bin.zip.asc"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-bin.zip.asc">

-                                                                                    PGP</a>

-                                                                  <br/>

-                                                                  Documents Distribution

-                                                                  <a href="[preferred]/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-docs.zip"

-                                                                                   title="[preferred]/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-docs.zip">zip</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-docs.zip.md5"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-docs.zip.md5">MD5</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-docs.zip.asc"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-docs.zip.asc">

-                                                                                    PGP</a>

-                                                                  <br/>

-                                                                  </td>

-                                                                  <td>04 - 21 - 2008</td>

-                                                                  <td>1.4.2 Release (Mirrored)</td>

-                                                                 </tr>

-    <tr class="b">

-                                                      <td align="center" valign="middle">

-                                                         1.4.1

-                                                       </td>

-                                                           <td align="center">Release</td>

-                                                           <td>Source Distribution

-                                                                <a href="[preferred]/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-src.zip"

-                                                                                   title="[preferred]/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-src.zip">zip</a>

-

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-src.zip.md5"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-src.zip.md5">MD5</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-src.zip.asc"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-src.zip.asc">PGP</a>

-                                                                  <br/>

-                                                                  Binary Distribution

-                                                                  <a href="[preferred]/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-bin.zip"

-                                                                                   title="[preferred]/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-bin.zip">zip</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-bin.zip.md5"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-bin.zip.md5">MD5</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-bin.zip.asc"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-bin.zip.asc">

-                                                                                    PGP</a>

-                                                                  <br/>

-                                                                  Documents Distribution

-                                                                  <a href="[preferred]/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-docs.zip"

-                                                                                   title="[preferred]/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-docs.zip">zip</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-docs.zip.md5"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-docs.zip.md5">MD5</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-docs.zip.asc"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-docs.zip.asc">

-                                                                                    PGP</a>

-                                                                  <br/>

-                                                                  </td>

-                                                                  <td>04 - 09 - 2008</td>

-                                                                  <td>1.4.1 Release (Mirrored)</td>

-                                                                 </tr>

-    <tr class="b">

-                                                      <td align="center" valign="middle">

-                                                         1.3.2

-                                                       </td>

-                                                           <td align="center">Release</td>

-                                                           <td>Source Distribution

-                                                                <a href="[preferred]/ws/commons/XmlSchema/1_4/XmlSchema-1.4-src.zip"

-                                                                                   title="[preferred]/ws/commons/XmlSchema/1_4/XmlSchema-1.4-src.zip">zip</a>

-

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_2/XmlSchema-1.4-src.zip.md5"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4/XmlSchema-1.4-src.zip.md5">MD5</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4/XmlSchema-1.4-src.zip.asc"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4/XmlSchema-1.4-src.zip.asc">PGP</a>

-                                                                  <br/>

-                                                                  Binary Distribution

-                                                                  <a href="[preferred]/ws/commons/XmlSchema/1_4/XmlSchema-1.4-bin.zip"

-                                                                                   title="[preferred]/ws/commons/XmlSchema/1_4/XmlSchema-1.4-bin.zip">zip</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4/XmlSchema-1.4-bin.zip.md5"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4/XmlSchema-1.4-bin.zip.md5">MD5</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4/XmlSchema-1.4-bin.zip.asc"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_4/XmlSchema-1.4-bin.zip.asc">

-                                                                                    PGP</a>

-                                                                  <br/>

-                                                                  Documents Distribution

-                                                                  <a href="[preferred]/ws/commons/XmlSchema/1_4/XmlSchema-1.4-docs.zip"

-                                                                                   title="[preferred]/ws/commons/XmlSchema/1_4/XmlSchema-1.4-docs.zip">zip</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4/XmlSchema-1.4-docs.zip.md5"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4/XmlSchema-1.4-docs.zip.md5">MD5</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4/XmlSchema-1.4-docs.zip.asc"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_4/XmlSchema-1.4-docs.zip.asc">

-                                                                                    PGP</a>

-                                                                  <br/>

-                                                                  </td>

-                                                                  <td>24 - 07 - 2007</td>

-                                                                  <td>1.3.2 Release (Mirrored)</td>

-                                                                </tr>

-                        <tr class="b">

-                                                      <td align="center" valign="middle">

-                                                         1.3.2

-                                                       </td>

-                                                           <td align="center">Release</td>

-                                                           <td>Source Distribution

-                                                                <a href="[preferred]/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-src.zip"

-                                                                                   title="[preferred]/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-src.zip">zip</a>

-

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-src.zip.md5"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-src.zip.md5">MD5</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.2-src.zip.asc"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-src.zip.asc">PGP</a>

-                                                                  <br/>

-                                                                  Binary Distribution

-                                                                  <a href="[preferred]/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-bin.zip"

-                                                                                   title="[preferred]/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-bin.zip">zip</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-bin.zip.md5"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-bin.zip.md5">MD5</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-bin.zip.asc"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-bin.zip.asc">

-                                                                                    PGP</a>

-                                                                  <br/>

-                                                                  Documents Distribution

-                                                                  <a href="[preferred]/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-docs.zip"

-                                                                                   title="[preferred]/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-docs.zip">zip</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-docs.zip.md5"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-docs.zip.md5">MD5</a>

-                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.2-docs.zip.asc"

-                                                                                   class="externalLink"

-                                                                                   title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-docs.zip.asc">

-                                                                                    PGP</a>

-                                                                  <br/>

-                                                                  </td>

-                                                                  <td>24 - 07 - 2007</td>

-                                                                  <td>1.3.2 Release (Mirrored)</td>

-                                                                </tr>

-

-

-                         <tr class="b">

-                              <td align="center" valign="middle">

-                                 1.3.1

-                               </td>

-                                   <td align="center">Release</td>

-                                   <td>Source Distribution

-                                        <a href="[preferred]/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-src.zip"

-                                                           title="[preferred]/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-src.zip">zip</a>

-

-                                         <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-src.zip.md5"

-                                                           class="externalLink"

-                                                           title="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-src.zip.md5">MD5</a>

-                                         <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-src.zip.asc"

-                                                           class="externalLink"

-                                                           title="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-src.zip.asc">PGP</a>

-                                          <br/>

-                                          Binary Distribution

-                                          <a href="[preferred]/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-bin.zip"

-                                                           title="[preferred]/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-bin.zip">zip</a>

-                                         <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-bin.zip.md5"

-                                                           class="externalLink"

-                                                           title="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-bin.zip.md5">MD5</a>

-                                         <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-bin.zip.asc"

-                                                           class="externalLink"

-                                                           title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-bin.zip.asc">

-                                                            PGP</a>

-                                          <br/>

-                                          Documents Distribution

-                                          <a href="[preferred]/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-docs.zip"

-                                                           title="[preferred]/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-docs.zip">zip</a>

-                                         <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-docs.zip.md5"

-                                                           class="externalLink"

-                                                           title="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-docs.zip.md5">MD5</a>

-                                         <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-docs.zip.asc"

-                                                           class="externalLink"

-                                                           title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-docs.zip.asc">

-                                                            PGP</a>

-                                          <br/>

-                                          </td>

-                                          <td>12 - 04 - 2007</td>

-                                          <td>1.3.1 Release (Mirrored)</td>

-                                        </tr>

-

-                        <tr class="b">

-                              <td align="center" valign="middle">

-                                 1.2

-                               </td>

-                                   <td align="center">Release</td>

-                                   <td>Source Distribution

-                                        <a href="[preferred]/ws/commons/XmlSchema/1_2/XmlSchema-1.2-src.zip"

-                                                           title="[preferred]/ws/commons/XmlSchema/1_2/XmlSchema-1.2-src.zip">zip</a>

-

-                                         <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_2/XmlSchema-1.2-src.zip.md5"

-                                                           class="externalLink"

-                                                           title="http://www.apache.org/dist/ws/commons/XmlSchema/1_2/XmlSchema-1.2-src.zip.md5">MD5</a>

-                                         <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_2/XmlSchema-1.2-src.zip.asc"

-                                                           class="externalLink"

-                                                           title="http://www.apache.org/dist/ws/commons/XmlSchema/1_2/XmlSchema-1.2-src.zip.asc">PGP</a>

-                                          <br/>

-                                          Binary Distribution

-                                          <a href="[preferred]/ws/commons/XmlSchema/1_2/XmlSchema-1.2-bin.zip"

-                                                           title="[preferred]/ws/commons/XmlSchema/1_2/XmlSchema-1.2-bin.zip">zip</a>

-                                         <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_2/XmlSchema-1.2-bin.zip.md5"

-                                                           class="externalLink"

-                                                           title="http://www.apache.org/dist/ws/commons/XmlSchema/1_2/XmlSchema-1.2-bin.zip.md5">MD5</a>

-                                         <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_2/XmlSchema-1.2-bin.zip.asc"

-                                                           class="externalLink"

-                                                           title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_2/XmlSchema-1.2-bin.zip.asc">

-                                                            PGP</a>

-

-                                          <br/>

-                                          </td>

-                                          <td>13 - 11 - 2006</td>

-                                          <td>1.2 Release (Mirrored)</td>

-                                        </tr>

-                        <tr class="b">

-                            <td align="center" valign="middle">

-                                1.1

-                            </td>

-                            <td align="center">Release</td>

-                            <td>Source Distribution

-                                <a href="[preferred]/ws/commons/XmlSchema/1_1/XmlSchema-1.1-src.zip"

-                                   title="[preferred]/ws/commons/XmlSchema/1_1/XmlSchema-1.1-src.zip">zip</a>

-

-                                <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_1/XmlSchema-1.1-src.zip.md5"

-                                   class="externalLink"

-                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_1/XmlSchema-1.1-src.zip.md5">MD5</a>

-                                <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_1/XmlSchema-1.1-src.zip.asc"

-                                   class="externalLink"

-                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_1/XmlSchema-1.1-src.zip.asc">PGP</a>

-                                <br/>

-                                Binary Distribution

-                                <a href="[preferred]/ws/commons/XmlSchema/1_1/XmlSchema-1.1-bin.zip"

-                                   title="[preferred]/ws/commons/XmlSchema/1_1/XmlSchema-1.1-bin.zip">zip</a>

-                                <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_1/XmlSchema-1.1-bin.zip.md5"

-                                   class="externalLink"

-                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_1/XmlSchema-1.1-bin.zip.md5">MD5</a>

-                                <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_1/XmlSchema-1.1-bin.zip.asc"

-                                   class="externalLink"

-                                   title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_1/XmlSchema-1.1-bin.zip.asc">

-                                    PGP</a>

-

-                                <br/>

-                            </td>

-                            <td>18 - 09 - 2006</td>

-                            <td>1.1 Release (Mirrored)</td>

-                        </tr>

-

-                        <tr class="b">

-                            <td align="center" valign="middle">

-                                1.0.3

-                            </td>

-                            <td align="center">Release</td>

-                            <td>Source Distribution

-                                <a href="[preferred]/ws/commons/XmlSchema/1_0_3/XmlSchema-1.0.3-src.zip"

-                                   title="[preferred]/ws/commons/XmlSchema/1_0_3/XmlSchema-1.0.3-src.zip">zip</a>

-

-                                <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_0_3/XmlSchema-1.0.3-src.zip.md5"

-                                   class="externalLink"

-                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_0_3/XmlSchema-1.0.3-src.zip.md5">MD5</a>

-                                <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_0_3/XmlSchema-1.0.3-src.zip.asc"

-                                   class="externalLink"

-                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_0_3/XmlSchema-1.0.3-src.zip.asc">PGP</a>

-                                <br/>

-                                Binary Distribution

-                                <a href="[preferred]/ws/commons/XmlSchema/1_0_3/XmlSchema-1.0.3-bin.zip"

-                                   title="[preferred]/ws/commons/XmlSchema/1_0_3/XmlSchema-1.0.3-bin.zip">zip</a>

-                                <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_0_3/XmlSchema-1.0.3-bin.zip.md5"

-                                   class="externalLink"

-                                   title="http://www.apache.org/dist/ws/commons/XmlSchema/1_0_3/XmlSchema-1.0.3-bin.zip.md5">MD5</a>

-                                <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_0_3/XmlSchema-1.0.3-bin.zip.asc"

-                                   class="externalLink"

-                                   title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_0_3/XmlSchema-1.0.3-bin.zip.asc">

-                                    PGP</a>

-

-                                <br/>

-                            </td>

-                            <td>13- 05 - 2006</td>

-                            <td>1.0.3 Release (Archived)

-                            </td>

-                        </tr>

-

-

-                        <tr class="b">

-                            <td align="center" valign="middle">

-                                1.0.2

-                            </td>

-                            <td align="center">Release</td>

-                            <td>Source Distribution

-                                <a href="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_2/XmlSchema-1.0.2-src.zip"

-                                   title="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_2/XmlSchema-1.0.2-src.zip">zip</a>

-

-                                <a href="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_2/XmlSchema-1.0.2-src.zip.md5"

-                                   class="externalLink"

-                                   title="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_2/XmlSchema-1.0.2-src.zip.md5">

-                                    MD5</a>

-                                <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_0_2/XmlSchema-1.0.2-src.zip.asc"

-                                   class="externalLink"

-                                   title="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_2/XmlSchema-1.0.2-src.zip.asc">

-                                    PGP</a>

-                                <br/>

-                                Binary Distribution

-                                <a href="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_2/XmlSchema-1.0.2-bin.zip"

-                                   title="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_2/XmlSchema-0.95-bin.zip">

-                                    zip</a>

-                                <a href="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_2/XmlSchema-1.0.2-bin.zip.md5"

-                                   class="externalLink"

-                                   title="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_2/XmlSchema-1.0.2-bin.zip.md5">

-                                    MD5</a>

-                                <a href="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_2/XmlSchema-1.0.2-bin.zip.asc"

-                                   class="externalLink"

-                                   title="http://archive.apache.org/dist/ws/ws/commons/XmlSchema/1_0_2/XmlSchema-1.0.2-bin.zip.asc">

-                                    PGP</a>

-

-                                <br/>

-                            </td>

-                            <td>30 - 04 - 2006</td>

-                            <td>1.0.2 Release (Archived)</td>

-                        </tr>

-

-

-                        <tr class="b">

-                            <td align="center" valign="middle">

-                                1.0.1

-                            </td>

-                            <td align="center">Release</td>

-                            <td>Source Distribution

-                                <a href="http://archive.apache.org/dist/ws/XmlSchema/XmlSchema/1_0_1/XmlSchema-1.0.1-src.zip"

-                                   title="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_1/XmlSchema-1.0.1-src.zip">

-                                    zip</a>

-

-                                <a href="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_1/XmlSchema-1.0.1-src.zip.md5"

-                                   class="externalLink"

-                                   title="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_1/XmlSchema-1.0.1-src.zip.md5">

-                                    MD5</a>

-                                <a href="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_1/XmlSchema-1.0.1-src.zip.asc"

-                                   class="externalLink"

-                                   title="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_1/XmlSchema-1.0.1-src.zip.asc">

-                                    PGP</a>

-                                <br/>

-                                Binary Distribution

-                                <a href="[preferred]/ws/commons/XmlSchema/1_0_1/XmlSchema-1.0.1-bin.zip"

-                                   title="[preferred]/ws/commons/XmlSchema/1_0_1/XmlSchema-1.0.1-bin.zip">zip</a>

-                                <a href="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_1/XmlSchema-1.0.1-bin.zip.md5"

-                                   class="externalLink"

-                                   title="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_1/XmlSchema-1.0.1-bin.zip.md5">

-                                    MD5</a>

-                                <a href="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_1/XmlSchema-1.0.1-bin.zip.asc"

-                                   class="externalLink"

-                                   title="http://archive.apache.org/dist/ws/ws/commons/XmlSchema/1_0_1/XmlSchema-1.0.1-bin.zip.asc">

-                                    PGP</a>

-

-                                <br/>

-                            </td>

-                            <td>13 - 04 - 2006</td>

-                            <td>1.0.1 Release (Archived)</td>

-                        </tr>

-

-                    </tbody>

-                </table>

-            </div>

-            <div align="left">

-                <p>[if-any logo]

-                    <a href="[link]">

-                        <img align="right" src="[logo]"

-                             border="0"/>

-                    </a>

-                    [end] The currently selected mirror is

-                    <b>[preferred]</b>

-                    . If

-                    you encounter a problem with this mirror, please select another mirror. If

-                    all mirrors are failing, there are

-                    <i>backup</i>

-                    mirrors (at the end of the

-                    mirrors list) that should be available.

-                </p>

-

-                <form action="[location]" method="get" id="SelectMirror">

-                    Other mirrors:

-                    <select name="Preferred">[if-any http][for http]

-                        <option value="[http]"

-                                selected="selected">[http]</option>

-                        [end][end][if-any ftp][for ftp]

-                        <option value="[ftp]">[ftp]</option>

-                        [end][end][if-any backup][for backup]

-                        <option value="[backup]">[backup] (backup)</option>

-                        [end][end]

-                    </select>

-

-                    <input type="submit" value="Change"/>

-                </form>

-

-                <p>You may also consult the

-                    <a href="http://www.apache.org/mirrors/">complete

-                        list of mirrors</a>

-                    .

-                </p>

-

-                <p>

-                    <strong>Note:</strong>

-                    when downloading from a mirror please check the

-                    <a

-                            href="http://www.apache.org/dev/release-signing#md5">md5sum</a>

-                    and verify

-                    the

-                    <a href="http://www.apache.org/dev/release-signing#openpgp">OpenPGP</a>

-                    compatible signature from the main Apache site. These can be downloaded by

-                    following the links above. This

-                    <a

-                            href="http://www.apache.org/dist/ws/commons/XmlSchema/KEYS">KEYS</a>

-                    file contains the

-                    public keys used for signing release. It is recommended that (when possible)

-                    a

-                    <a href="http://www.apache.org/dev/release-signing#web-of-trust">web of

-                        trust</a>

-                    is used to confirm the identity of these keys.

-                </p>

-            </div>

-

-        </section>

-    </body>

-</document>

+<?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.
+  -->
+<document>
+  <properties>
+    <title>:: Apache XmlSchema Releases ::</title>
+  </properties>
+  <head>
+    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
+    <meta content="text/html; charset=utf-8"/>
+  </head>
+  <body>
+    <section>
+      <h2>Releases</h2>
+      <div align="left">
+        <p>XmlSchema is becoming more and more stable and the latest official version available for download is
+                    XmlSchema 1.4.4. All the releases are available for download as source or binary. For more information,
+                    please see
+                    <a href="http://www.apache.org/dev/release.html">Apache Release FAQ</a>
+                </p>
+        <p>Please select the XmlSchema version you want to download.</p>
+      </div>
+      <div align="center">
+        <table class="bodyTable">
+          <tbody>
+            <tr class="a">
+              <td align="center" width="45">Name</td>
+              <td align="center" width="80">Type</td>
+              <td align="center" width="300">Distribution</td>
+              <td align="center" width="100">Date</td>
+              <td align="center" width="200">Description</td>
+            </tr>
+            <tr class="b">
+              <td align="center" valign="middle">
+                                                         1.4.4
+                                                       </td>
+              <td align="center">Release</td>
+              <td>Source Distribution
+                    <a href="[preferred]/ws/commons/XmlSchema/1_4_4/XmlSchema-1.4.4-src.zip" title="[preferred]/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.4-src.zip">zip</a>
+                    <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_4/XmlSchema-1.4.4-src.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_4/XmlSchema-1.4.4-src.zip.md5">MD5</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_4/XmlSchema-1.4.4-src.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_4/XmlSchema-1.4.4-src.zip.asc">PGP</a>
+                                                                  <br/>
+                                                                  Binary Distribution
+                                                                  <a href="[preferred]/ws/commons/XmlSchema/1_4_4/XmlSchema-1.4.4-bin.zip" title="[preferred]/ws/commons/XmlSchema/1_4_4/XmlSchema-1.4.4-bin.zip">zip</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_4/XmlSchema-1.4.4-bin.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_4/XmlSchema-1.4.4-bin.zip.md5">MD5</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_4/XmlSchema-1.4.4-bin.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_4_4/XmlSchema-1.4.4-bin.zip.asc">
+                                                                                    PGP</a>
+                                                                  <br/>
+                                                                  Documents Distribution
+                                                                  <a href="[preferred]/ws/commons/XmlSchema/1_4_4/XmlSchema-1.4.4-docs.zip" title="[preferred]/ws/commons/XmlSchema/1_4_4/XmlSchema-1.4.4-docs.zip">zip</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_4/XmlSchema-1.4.4-docs.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_4/XmlSchema-1.4.4-docs.zip.md5">MD5</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_4/XmlSchema-1.4.4-docs.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_4_4/XmlSchema-1.4.4-docs.zip.asc">
+                                                                                    PGP</a>
+                                                                  <br/>
+                                                                  </td>
+              <td>2009 - 03 - 06</td>
+              <td>1.4.4 Release (Mirrored)</td>
+            </tr>
+
+
+
+   <tr class="b">
+              <td align="center" valign="middle">
+                                                         1.4.3
+                                                       </td>
+              <td align="center">Release</td>
+              <td>Source Distribution
+                                                                <a href="[preferred]/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-src.zip" title="[preferred]/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-src.zip">zip</a>
+
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-src.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-src.zip.md5">MD5</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-src.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-src.zip.asc">PGP</a>
+                                                                  <br/>
+                                                                  Binary Distribution
+                                                                  <a href="[preferred]/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-bin.zip" title="[preferred]/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-bin.zip">zip</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-bin.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-bin.zip.md5">MD5</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-bin.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-bin.zip.asc">
+                                                                                    PGP</a>
+                                                                  <br/>
+                                                                  Documents Distribution
+                                                                  <a href="[preferred]/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-docs.zip" title="[preferred]/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-docs.zip">zip</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-docs.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-docs.zip.md5">MD5</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-docs.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_4_3/XmlSchema-1.4.3-docs.zip.asc">
+                                                                                    PGP</a>
+                                                                  <br/>
+                                                                  </td>
+              <td>12 - 11 - 2008</td>
+              <td>1.4.3 Release (Mirrored)</td>
+            </tr>
+
+
+            <tr class="b">
+              <td align="center" valign="middle">
+                                                         1.4.2
+                                                       </td>
+              <td align="center">Release</td>
+              <td>Source Distribution
+                                                                <a href="[preferred]/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-src.zip" title="[preferred]/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-src.zip">zip</a>
+
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-src.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-src.zip.md5">MD5</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-src.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-src.zip.asc">PGP</a>
+                                                                  <br/>
+                                                                  Binary Distribution
+                                                                  <a href="[preferred]/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-bin.zip" title="[preferred]/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-bin.zip">zip</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-bin.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-bin.zip.md5">MD5</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-bin.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-bin.zip.asc">
+                                                                                    PGP</a>
+                                                                  <br/>
+                                                                  Documents Distribution
+                                                                  <a href="[preferred]/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-docs.zip" title="[preferred]/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-docs.zip">zip</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-docs.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-docs.zip.md5">MD5</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-docs.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_4_2/XmlSchema-1.4.2-docs.zip.asc">
+                                                                                    PGP</a>
+                                                                  <br/>
+                                                                  </td>
+              <td>04 - 21 - 2008</td>
+              <td>1.4.2 Release (Mirrored)</td>
+            </tr>
+            <tr class="b">
+              <td align="center" valign="middle">
+                                                         1.4.1
+                                                       </td>
+              <td align="center">Release</td>
+              <td>Source Distribution
+                                                                <a href="[preferred]/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-src.zip" title="[preferred]/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-src.zip">zip</a>
+
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-src.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-src.zip.md5">MD5</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-src.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-src.zip.asc">PGP</a>
+                                                                  <br/>
+                                                                  Binary Distribution
+                                                                  <a href="[preferred]/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-bin.zip" title="[preferred]/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-bin.zip">zip</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-bin.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-bin.zip.md5">MD5</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-bin.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-bin.zip.asc">
+                                                                                    PGP</a>
+                                                                  <br/>
+                                                                  Documents Distribution
+                                                                  <a href="[preferred]/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-docs.zip" title="[preferred]/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-docs.zip">zip</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-docs.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-docs.zip.md5">MD5</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-docs.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_4_1/XmlSchema-1.4.1-docs.zip.asc">
+                                                                                    PGP</a>
+                                                                  <br/>
+                                                                  </td>
+              <td>04 - 09 - 2008</td>
+              <td>1.4.1 Release (Mirrored)</td>
+            </tr>
+            <tr class="b">
+              <td align="center" valign="middle">
+                                                         1.3.2
+                                                       </td>
+              <td align="center">Release</td>
+              <td>Source Distribution
+                                                                <a href="[preferred]/ws/commons/XmlSchema/1_4/XmlSchema-1.4-src.zip" title="[preferred]/ws/commons/XmlSchema/1_4/XmlSchema-1.4-src.zip">zip</a>
+
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_2/XmlSchema-1.4-src.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4/XmlSchema-1.4-src.zip.md5">MD5</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4/XmlSchema-1.4-src.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4/XmlSchema-1.4-src.zip.asc">PGP</a>
+                                                                  <br/>
+                                                                  Binary Distribution
+                                                                  <a href="[preferred]/ws/commons/XmlSchema/1_4/XmlSchema-1.4-bin.zip" title="[preferred]/ws/commons/XmlSchema/1_4/XmlSchema-1.4-bin.zip">zip</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4/XmlSchema-1.4-bin.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4/XmlSchema-1.4-bin.zip.md5">MD5</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4/XmlSchema-1.4-bin.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_4/XmlSchema-1.4-bin.zip.asc">
+                                                                                    PGP</a>
+                                                                  <br/>
+                                                                  Documents Distribution
+                                                                  <a href="[preferred]/ws/commons/XmlSchema/1_4/XmlSchema-1.4-docs.zip" title="[preferred]/ws/commons/XmlSchema/1_4/XmlSchema-1.4-docs.zip">zip</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4/XmlSchema-1.4-docs.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_4/XmlSchema-1.4-docs.zip.md5">MD5</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_4/XmlSchema-1.4-docs.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_4/XmlSchema-1.4-docs.zip.asc">
+                                                                                    PGP</a>
+                                                                  <br/>
+                                                                  </td>
+              <td>24 - 07 - 2007</td>
+              <td>1.3.2 Release (Mirrored)</td>
+            </tr>
+            <tr class="b">
+              <td align="center" valign="middle">
+                                                         1.3.2
+                                                       </td>
+              <td align="center">Release</td>
+              <td>Source Distribution
+                                                                <a href="[preferred]/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-src.zip" title="[preferred]/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-src.zip">zip</a>
+
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-src.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-src.zip.md5">MD5</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.2-src.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-src.zip.asc">PGP</a>
+                                                                  <br/>
+                                                                  Binary Distribution
+                                                                  <a href="[preferred]/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-bin.zip" title="[preferred]/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-bin.zip">zip</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-bin.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-bin.zip.md5">MD5</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-bin.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-bin.zip.asc">
+                                                                                    PGP</a>
+                                                                  <br/>
+                                                                  Documents Distribution
+                                                                  <a href="[preferred]/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-docs.zip" title="[preferred]/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-docs.zip">zip</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-docs.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-docs.zip.md5">MD5</a>
+                                                                 <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.2-docs.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_3_2/XmlSchema-1.3.2-docs.zip.asc">
+                                                                                    PGP</a>
+                                                                  <br/>
+                                                                  </td>
+              <td>24 - 07 - 2007</td>
+              <td>1.3.2 Release (Mirrored)</td>
+            </tr>
+            <tr class="b">
+              <td align="center" valign="middle">
+                                 1.3.1
+                               </td>
+              <td align="center">Release</td>
+              <td>Source Distribution
+                                        <a href="[preferred]/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-src.zip" title="[preferred]/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-src.zip">zip</a>
+
+                                         <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-src.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-src.zip.md5">MD5</a>
+                                         <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-src.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-src.zip.asc">PGP</a>
+                                          <br/>
+                                          Binary Distribution
+                                          <a href="[preferred]/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-bin.zip" title="[preferred]/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-bin.zip">zip</a>
+                                         <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-bin.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-bin.zip.md5">MD5</a>
+                                         <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-bin.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-bin.zip.asc">
+                                                            PGP</a>
+                                          <br/>
+                                          Documents Distribution
+                                          <a href="[preferred]/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-docs.zip" title="[preferred]/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-docs.zip">zip</a>
+                                         <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-docs.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-docs.zip.md5">MD5</a>
+                                         <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-docs.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_3_1/XmlSchema-1.3.1-docs.zip.asc">
+                                                            PGP</a>
+                                          <br/>
+                                          </td>
+              <td>12 - 04 - 2007</td>
+              <td>1.3.1 Release (Mirrored)</td>
+            </tr>
+            <tr class="b">
+              <td align="center" valign="middle">
+                                 1.2
+                               </td>
+              <td align="center">Release</td>
+              <td>Source Distribution
+                                        <a href="[preferred]/ws/commons/XmlSchema/1_2/XmlSchema-1.2-src.zip" title="[preferred]/ws/commons/XmlSchema/1_2/XmlSchema-1.2-src.zip">zip</a>
+
+                                         <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_2/XmlSchema-1.2-src.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_2/XmlSchema-1.2-src.zip.md5">MD5</a>
+                                         <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_2/XmlSchema-1.2-src.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_2/XmlSchema-1.2-src.zip.asc">PGP</a>
+                                          <br/>
+                                          Binary Distribution
+                                          <a href="[preferred]/ws/commons/XmlSchema/1_2/XmlSchema-1.2-bin.zip" title="[preferred]/ws/commons/XmlSchema/1_2/XmlSchema-1.2-bin.zip">zip</a>
+                                         <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_2/XmlSchema-1.2-bin.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_2/XmlSchema-1.2-bin.zip.md5">MD5</a>
+                                         <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_2/XmlSchema-1.2-bin.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_2/XmlSchema-1.2-bin.zip.asc">
+                                                            PGP</a>
+
+                                          <br/>
+                                          </td>
+              <td>13 - 11 - 2006</td>
+              <td>1.2 Release (Mirrored)</td>
+            </tr>
+            <tr class="b">
+              <td align="center" valign="middle">
+                                1.1
+                            </td>
+              <td align="center">Release</td>
+              <td>Source Distribution
+                                <a href="[preferred]/ws/commons/XmlSchema/1_1/XmlSchema-1.1-src.zip" title="[preferred]/ws/commons/XmlSchema/1_1/XmlSchema-1.1-src.zip">zip</a>
+
+                                <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_1/XmlSchema-1.1-src.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_1/XmlSchema-1.1-src.zip.md5">MD5</a>
+                                <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_1/XmlSchema-1.1-src.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_1/XmlSchema-1.1-src.zip.asc">PGP</a>
+                                <br/>
+                                Binary Distribution
+                                <a href="[preferred]/ws/commons/XmlSchema/1_1/XmlSchema-1.1-bin.zip" title="[preferred]/ws/commons/XmlSchema/1_1/XmlSchema-1.1-bin.zip">zip</a>
+                                <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_1/XmlSchema-1.1-bin.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_1/XmlSchema-1.1-bin.zip.md5">MD5</a>
+                                <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_1/XmlSchema-1.1-bin.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_1/XmlSchema-1.1-bin.zip.asc">
+                                    PGP</a>
+
+                                <br/>
+                            </td>
+              <td>18 - 09 - 2006</td>
+              <td>1.1 Release (Mirrored)</td>
+            </tr>
+            <tr class="b">
+              <td align="center" valign="middle">
+                                1.0.3
+                            </td>
+              <td align="center">Release</td>
+              <td>Source Distribution
+                                <a href="[preferred]/ws/commons/XmlSchema/1_0_3/XmlSchema-1.0.3-src.zip" title="[preferred]/ws/commons/XmlSchema/1_0_3/XmlSchema-1.0.3-src.zip">zip</a>
+
+                                <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_0_3/XmlSchema-1.0.3-src.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_0_3/XmlSchema-1.0.3-src.zip.md5">MD5</a>
+                                <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_0_3/XmlSchema-1.0.3-src.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_0_3/XmlSchema-1.0.3-src.zip.asc">PGP</a>
+                                <br/>
+                                Binary Distribution
+                                <a href="[preferred]/ws/commons/XmlSchema/1_0_3/XmlSchema-1.0.3-bin.zip" title="[preferred]/ws/commons/XmlSchema/1_0_3/XmlSchema-1.0.3-bin.zip">zip</a>
+                                <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_0_3/XmlSchema-1.0.3-bin.zip.md5" class="externalLink" title="http://www.apache.org/dist/ws/commons/XmlSchema/1_0_3/XmlSchema-1.0.3-bin.zip.md5">MD5</a>
+                                <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_0_3/XmlSchema-1.0.3-bin.zip.asc" class="externalLink" title="http://www.apache.org/dist/ws/ws/commons/XmlSchema/1_0_3/XmlSchema-1.0.3-bin.zip.asc">
+                                    PGP</a>
+
+                                <br/>
+                            </td>
+              <td>13- 05 - 2006</td>
+              <td>1.0.3 Release (Archived)
+                            </td>
+            </tr>
+            <tr class="b">
+              <td align="center" valign="middle">
+                                1.0.2
+                            </td>
+              <td align="center">Release</td>
+              <td>Source Distribution
+                                <a href="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_2/XmlSchema-1.0.2-src.zip" title="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_2/XmlSchema-1.0.2-src.zip">zip</a>
+
+                                <a href="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_2/XmlSchema-1.0.2-src.zip.md5" class="externalLink" title="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_2/XmlSchema-1.0.2-src.zip.md5">
+                                    MD5</a>
+                                <a href="http://www.apache.org/dist/ws/commons/XmlSchema/1_0_2/XmlSchema-1.0.2-src.zip.asc" class="externalLink" title="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_2/XmlSchema-1.0.2-src.zip.asc">
+                                    PGP</a>
+                                <br/>
+                                Binary Distribution
+                                <a href="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_2/XmlSchema-1.0.2-bin.zip" title="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_2/XmlSchema-0.95-bin.zip">
+                                    zip</a>
+                                <a href="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_2/XmlSchema-1.0.2-bin.zip.md5" class="externalLink" title="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_2/XmlSchema-1.0.2-bin.zip.md5">
+                                    MD5</a>
+                                <a href="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_2/XmlSchema-1.0.2-bin.zip.asc" class="externalLink" title="http://archive.apache.org/dist/ws/ws/commons/XmlSchema/1_0_2/XmlSchema-1.0.2-bin.zip.asc">
+                                    PGP</a>
+
+                                <br/>
+                            </td>
+              <td>30 - 04 - 2006</td>
+              <td>1.0.2 Release (Archived)</td>
+            </tr>
+            <tr class="b">
+              <td align="center" valign="middle">
+                                1.0.1
+                            </td>
+              <td align="center">Release</td>
+              <td>Source Distribution
+                                <a href="http://archive.apache.org/dist/ws/XmlSchema/XmlSchema/1_0_1/XmlSchema-1.0.1-src.zip" title="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_1/XmlSchema-1.0.1-src.zip">
+                                    zip</a>
+
+                                <a href="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_1/XmlSchema-1.0.1-src.zip.md5" class="externalLink" title="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_1/XmlSchema-1.0.1-src.zip.md5">
+                                    MD5</a>
+                                <a href="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_1/XmlSchema-1.0.1-src.zip.asc" class="externalLink" title="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_1/XmlSchema-1.0.1-src.zip.asc">
+                                    PGP</a>
+                                <br/>
+                                Binary Distribution
+                                <a href="[preferred]/ws/commons/XmlSchema/1_0_1/XmlSchema-1.0.1-bin.zip" title="[preferred]/ws/commons/XmlSchema/1_0_1/XmlSchema-1.0.1-bin.zip">zip</a>
+                                <a href="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_1/XmlSchema-1.0.1-bin.zip.md5" class="externalLink" title="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_1/XmlSchema-1.0.1-bin.zip.md5">
+                                    MD5</a>
+                                <a href="http://archive.apache.org/dist/ws/commons/XmlSchema/1_0_1/XmlSchema-1.0.1-bin.zip.asc" class="externalLink" title="http://archive.apache.org/dist/ws/ws/commons/XmlSchema/1_0_1/XmlSchema-1.0.1-bin.zip.asc">
+                                    PGP</a>
+
+                                <br/>
+                            </td>
+              <td>13 - 04 - 2006</td>
+              <td>1.0.1 Release (Archived)</td>
+            </tr>
+          </tbody>
+        </table>
+      </div>
+      <div align="left">
+        <p>[if-any logo]
+                    <a href="[link]"><img align="right" src="[logo]" border="0"/></a>
+                    [end] The currently selected mirror is
+                    <b>[preferred]</b>
+                    . If
+                    you encounter a problem with this mirror, please select another mirror. If
+                    all mirrors are failing, there are
+                    <i>backup</i>
+                    mirrors (at the end of the
+                    mirrors list) that should be available.
+                </p>
+        <form action="[location]" method="get" id="SelectMirror">
+                    Other mirrors:
+                    <select name="Preferred">[if-any http][for http]
+                        <option value="[http]" selected="selected">[http]</option>
+                        [end][end][if-any ftp][for ftp]
+                        <option value="[ftp]">[ftp]</option>
+                        [end][end][if-any backup][for backup]
+                        <option value="[backup]">[backup] (backup)</option>
+                        [end][end]
+                    </select>
+
+                    <input type="submit" value="Change"/>
+                </form>
+        <p>You may also consult the
+                    <a href="http://www.apache.org/mirrors/">complete
+                        list of mirrors</a>
+                    .
+                </p>
+        <p><strong>Note:</strong>
+                    when downloading from a mirror please check the
+                    <a href="http://www.apache.org/dev/release-signing#md5">md5sum</a>
+                    and verify
+                    the
+                    <a href="http://www.apache.org/dev/release-signing#openpgp">OpenPGP</a>
+                    compatible signature from the main Apache site. These can be downloaded by
+                    following the links above. This
+                    <a href="http://www.apache.org/dist/ws/commons/XmlSchema/KEYS">KEYS</a>
+                    file contains the
+                    public keys used for signing release. It is recommended that (when possible)
+                    a
+                    <a href="http://www.apache.org/dev/release-signing#web-of-trust">web of
+                        trust</a>
+                    is used to confirm the identity of these keys.
+                </p>
+      </div>
+    </section>
+  </body>
+</document>
diff --git a/src/test/java/tests/NamespaceContextTest.java b/src/test/java/tests/NamespaceContextTest.java
index cd98973..d92683a 100644
--- a/src/test/java/tests/NamespaceContextTest.java
+++ b/src/test/java/tests/NamespaceContextTest.java
@@ -30,6 +30,9 @@
 import java.net.URI;

 import java.util.HashMap;

 import java.util.Map;

+

+import org.w3c.dom.Document;

+import org.w3c.dom.Element;

 public class NamespaceContextTest extends XMLTestCase {

     protected boolean whitespace = true;

     protected void setUp() throws Exception {

@@ -45,14 +48,16 @@
         namespaceMapFromWSDL.put("xsd", new URI("http://www.w3.org/2001/XMLSchema"));

         String schema = "\t\t<xsd:schema targetNamespace=\"http://example.org/getBalance/\"\n" +

                 "attributeFormDefault=\"unqualified\" elementFormDefault=\"unqualified\"" +

-                " xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">" +

+                " xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"" +

+                " xmlns=\"http://www.w3.org/2001/XMLSchema\"" +

+                " xmlns:xsd1=\"http://example.org/getBalance/\">" +

                 "\t\t\t<xsd:include schemaLocation=\"getBalance.xsd\" />\n" +

                 "\n" +

                 "\t\t\t<xsd:element name=\"newCustomer\">\n" +

                 "\t\t\t\t<xsd:complexType>\n" +

                 "\t\t\t\t\t<xsd:sequence>\n" +

                 "\t\t\t\t\t\t<xsd:element name=\"details\" type=\"tns:cinfoct\" />\n" +

-                "\t\t\t\t\t\t<xsd:element name=\"id\" type=\"xsd:string\" />\n" +

+                "\t\t\t\t\t\t<xsd:element name=\"id\" type=\"string\" />\n" +

                 "\t\t\t\t\t</xsd:sequence>\n" +

                 "\t\t\t\t</xsd:complexType>\n" +

                 "\t\t\t</xsd:element>\n" +

@@ -60,7 +65,7 @@
                 "\t\t\t<xsd:element name=\"customerId\">\n" +

                 "\t\t\t\t<xsd:complexType>\n" +

                 "\t\t\t\t\t<xsd:sequence>\n" +

-                "\t\t\t\t\t\t<xsd:element name=\"id\" type=\"xsd:string\" />\n" +

+                "\t\t\t\t\t\t<xsd:element name=\"id\" type=\"string\" />\n" +

                 "\t\t\t\t\t</xsd:sequence>\n" +

                 "\t\t\t\t</xsd:complexType>\n" +

                 "\t\t\t</xsd:element>\n" +

@@ -76,11 +81,75 @@
         XmlSchema schemaDef = xsc.read(schemaInputSource, null);

         StringWriter sw = new StringWriter();

         schemaDef.write(sw);

-

         try {

-            assertXMLEqual(sw.toString(), schema);

+            assertXMLEqual(sw.toString(), schema.replaceAll("tns:", "xsd1:"));

         } catch (NullPointerException ex) {

             System.out.println(">>>> NPE, ignoring assertXMLEqual");

         }

     }

+    public void testNamespaceCount() throws Exception {

+        String schema =  "<schema xmlns=\"http://www.w3.org/2001/XMLSchema\"" +

+        		" xmlns:addressing=\"http://schemas.foo.com/references\"" +

+        		" xmlns:http=\"http://schemas.xmlsoap.org/wsdl/http/\"" +

+        		" xmlns:soap=\"http://schemas.xmlsoap.org/wsdl/soap/\"" +

+        		" xmlns:tns=\"http://schemas.foo.com/idl/isfx_authn_service.idl\" " +

+        		" xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\"" +

+        		" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"" +

+        		" xmlns:xsd1=\"http://schemas.foo.com/idltypes/isfx_authn_service.idl\"" +

+        		" targetNamespace=\"http://schemas.foo.com/idltypes/isf_suppl_info.idl\">" +

+        		"<complexType name=\"IT_ISF.DomainRealmFilter\">" +

+        		"<sequence><element name=\"domain_name\" type=\"string\"/>" +

+        		"<element name=\"realm\" type=\"string\"/></sequence>" +

+        		"</complexType></schema>";

+        org.xml.sax.InputSource schemaInputSource = new InputSource(new StringReader(schema));

+        XmlSchemaCollection xsc = new XmlSchemaCollection();

+        xsc.setBaseUri(Resources.TEST_RESOURCES);

+

+        //Set the namespaces explicitly

+        XmlSchema schemaDef = xsc.read(schemaInputSource, null);

+        Document doc = schemaDef.getSchemaDocument();

+        Element el = doc.getDocumentElement();

+        String ns = el.getAttribute("xmlns");

+        assertEquals("http://www.w3.org/2001/XMLSchema", ns);

+    }

+    public void testNullNamespaceCtx() throws Exception {

+        String schema = "\t\t<xsd:schema targetNamespace=\"http://example.org/getBalance/\"\n" +

+            "attributeFormDefault=\"unqualified\" elementFormDefault=\"unqualified\"" +

+            " xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"" +

+            " xmlns=\"http://www.w3.org/2001/XMLSchema\"" +

+            " xmlns:xsd1=\"http://example.org/getBalance/\">" +

+            "\t\t\t<xsd:include schemaLocation=\"getBalance.xsd\" />\n" +

+            "\n" +

+            "\t\t\t<xsd:element name=\"newCustomer\">\n" +

+            "\t\t\t\t<xsd:complexType>\n" +

+            "\t\t\t\t\t<xsd:sequence>\n" +

+            "\t\t\t\t\t\t<xsd:element name=\"details\" type=\"xsd1:cinfoct\" />\n" +

+            "\t\t\t\t\t\t<xsd:element name=\"id\" type=\"string\" />\n" +

+            "\t\t\t\t\t</xsd:sequence>\n" +

+            "\t\t\t\t</xsd:complexType>\n" +

+            "\t\t\t</xsd:element>\n" +

+            "\n" +

+            "\t\t\t<xsd:element name=\"customerId\">\n" +

+            "\t\t\t\t<xsd:complexType>\n" +

+            "\t\t\t\t\t<xsd:sequence>\n" +

+            "\t\t\t\t\t\t<xsd:element name=\"id\" type=\"string\" />\n" +

+            "\t\t\t\t\t</xsd:sequence>\n" +

+            "\t\t\t\t</xsd:complexType>\n" +

+            "\t\t\t</xsd:element>\n" +

+            "\n" +

+            "\t\t</xsd:schema>";

+        org.xml.sax.InputSource schemaInputSource = new InputSource(new StringReader(schema));

+        XmlSchemaCollection xsc = new XmlSchemaCollection();

+        xsc.setBaseUri(Resources.TEST_RESOURCES);

+

+        //Set the namespaces explicitly

+        XmlSchema schemaDef = xsc.read(schemaInputSource, null);

+        schemaDef.setNamespaceContext(null);

+        Document doc = schemaDef.getSchemaDocument();

+        Element el = doc.getDocumentElement();

+        String ns = el.getAttribute("xmlns");

+        assertEquals("http://www.w3.org/2001/XMLSchema", ns);

+        ns = el.getAttribute("xmlns:tns");

+        assertEquals("http://example.org/getBalance/", ns);

+    }

 }

diff --git a/src/test/java/tests/SingleElementNoNamespace.java b/src/test/java/tests/SingleElementNoNamespace.java
new file mode 100644
index 0000000..7db111d
--- /dev/null
+++ b/src/test/java/tests/SingleElementNoNamespace.java
@@ -0,0 +1,29 @@
+/**
+ * 
+ */
+package tests;
+
+import java.io.InputStream;
+
+import javax.xml.transform.stream.StreamSource;
+
+import org.apache.ws.commons.schema.XmlSchema;
+import org.apache.ws.commons.schema.XmlSchemaCollection;
+import org.apache.ws.commons.schema.XmlSchemaObjectTable;
+
+import junit.framework.TestCase;
+
+
+public class SingleElementNoNamespace extends TestCase {
+	
+	public void testReadOneElement() throws Exception {
+
+		InputStream is = 
+			SingleElementNoNamespace.class.
+				getClassLoader().getResourceAsStream("singleElementNoNamespace.xsd");
+		XmlSchemaCollection schemaCol = new XmlSchemaCollection();
+		XmlSchema schema = schemaCol.read(new StreamSource(is), null);
+		XmlSchemaObjectTable objectTable = schema.getElements();
+		assertEquals(1, objectTable.getCount());
+	}
+}
diff --git a/src/test/test-resources/singleElementNoNamespace.xsd b/src/test/test-resources/singleElementNoNamespace.xsd
new file mode 100644
index 0000000..778bbc0
--- /dev/null
+++ b/src/test/test-resources/singleElementNoNamespace.xsd
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+<xs:element name="note">
+ <xs:complexType>
+   <xs:sequence>
+     <xs:element name="to" type="xs:string"/>
+     <xs:element name="from" type="xs:string"/>
+     <xs:element name="heading" type="xs:string"/>
+     <xs:element name="body" type="xs:string"/>
+   </xs:sequence>
+ </xs:complexType>
+</xs:element>
+
+</xs:schema>