Author: jkaputin
Date: Fri Oct 6 18:30:10 2006
New Revision: 453831
URL: http://svn.apache.org/viewvc?view=rev&rev=453831
Log:
Change reference to ElementSource to
ElementSource.getSource() to resolve incompatibility.
Modified:
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/extensions/UnknownExtensionDeserializer.java
Modified:
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/extensions/UnknownExtensionDeserializer.java
URL:
http://svn.apache.org/viewvc/incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/extensions/UnknownExtensionDeserializer.java?view=diff&rev=453831&r1=453830&r2=453831
==============================================================================
---
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/extensions/UnknownExtensionDeserializer.java
(original)
+++
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/extensions/UnknownExtensionDeserializer.java
Fri Oct 6 18:30:10 2006
@@ -69,14 +69,14 @@
//Method copied from DOMUtils, to avoid using internal classes
//here in the API packages (it was breaking the API build).
- //TODO workaround for M2, revisit after M2.
+ //TODO workaround for M2, replace with new ElementSource behaviour.
private String getAttributeNS (ElementSource elementSource,
String namespaceURI,
String localPart) {
String sRet = null;
- if (elementSource instanceof Element){
- Element el = (Element)elementSource;
+ if (elementSource.getSource() instanceof Element){
+ Element el = (Element)elementSource.getSource();
Attr attr = el.getAttributeNodeNS (namespaceURI, localPart);
if (attr != null) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]