Author: sagara
Date: Tue Sep 8 18:59:17 2009
New Revision: 812638
URL: http://svn.apache.org/viewvc?rev=812638&view=rev
Log:
changes from branch-65
Modified:
webservices/woden/trunk/java/woden-om/src/main/java/org/apache/woden/internal/OMWSDLReader.java
Modified:
webservices/woden/trunk/java/woden-om/src/main/java/org/apache/woden/internal/OMWSDLReader.java
URL:
http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-om/src/main/java/org/apache/woden/internal/OMWSDLReader.java?rev=812638&r1=812637&r2=812638&view=diff
==============================================================================
---
webservices/woden/trunk/java/woden-om/src/main/java/org/apache/woden/internal/OMWSDLReader.java
(original)
+++
webservices/woden/trunk/java/woden-om/src/main/java/org/apache/woden/internal/OMWSDLReader.java
Tue Sep 8 18:59:17 2009
@@ -160,8 +160,9 @@
throws WSDLException {
ImportedSchemaImpl schema = new ImportedSchemaImpl();
+ schema.setXMLElement(importEl);
- String ns = importEl.getAttributeValue(SchemaConstants.ATTR_NAMESPACE);
+ String ns = importEl.getAttributeValue(Constants.ATTR_NAMESPACE);
if(ns != null) {
schema.setNamespace(getURI(ns));
@@ -317,8 +318,10 @@
throws WSDLException{
InlinedSchemaImpl schema = new InlinedSchemaImpl();
- schema.setId(schemaElement.getAttributeValue(SchemaConstants.ATTR_ID));
- String tns =
schemaElement.getAttributeValue(SchemaConstants.ATTR_TARGET_NAMESPACE);
+ schema.setXMLElement(schemaElement);
+
+ schema.setId(schemaElement.getAttributeValue(Constants.ATTR_ID));
+ String tns =
schemaElement.getAttributeValue(Constants.ATTR_TARGET_NAMESPACE);
if(tns != null) {
schema.setNamespace(getURI(tns));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]