You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by aj...@apache.org on 2007/04/06 09:22:20 UTC

svn commit: r526082 - /webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/XmlSchemaFacet.java

Author: ajith
Date: Fri Apr  6 00:22:13 2007
New Revision: 526082

URL: http://svn.apache.org/viewvc?view=rev&rev=526082
Log:
1. Fixed https://issues.apache.org/jira/browse/WSCOMMONS-102

Modified:
    webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/XmlSchemaFacet.java

Modified: webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/XmlSchemaFacet.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/XmlSchemaFacet.java?view=diff&rev=526082&r1=526081&r2=526082
==============================================================================
--- webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/XmlSchemaFacet.java (original)
+++ webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/XmlSchemaFacet.java Fri Apr  6 00:22:13 2007
@@ -94,6 +94,7 @@
             throw new XmlSchemaException("Incorrect facet with name \""
                                          + name + "\" found.");
         }
+        if (el.hasAttribute("id"))facet.setId(el.getAttribute("id"));
         facet.setFixed(fixed);
         facet.setValue(el.getAttribute("value"));
         return facet;



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org