As we discussed on the phone this morning, that's fine. I had thought of
doing this also but thought that it might be too big of a change this
close to the 1.1 release... but, as my bug report indicates, this IS a
regression from 1.0 and does deserve the proper attention your change will
give it.
- James Snell
IBM Emerging Technologies
[EMAIL PROTECTED]
(877) 511-5082 (voice/fax) ** NEW NUMBER **
(700) 930-1979 (t/l) ** NEW NUMBER **
Programming Web Services With SOAP
O'Reilly & Associates, ISBN 0596000952
Have I not commanded you? Be strong and courageous.
Do not be terrified, do not be discouraged, for the Lord your
God will be with you whereever you go. - Joshua 1:9
Davanum Srinivas <[EMAIL PROTECTED]>
03/18/2003 05:51 AM
Please respond to axis-dev
To
[EMAIL PROTECTED]
cc
bcc
Subject
Re: cvs commit: xml-axis/java/src/org/apache/axis/wsdl/fromJava
Emitter.java
Withdraw my -1 to -0...Am not convinced that adding namespace is the right
fix.
Thanks,
dims
--- Davanum Srinivas <[EMAIL PROTECTED]> wrote:
> James,
>
> -1...This is not the right fix. We need to use typemapping to map
Document to anyType.
>
> -- dims
>
> --- [EMAIL PROTECTED] wrote:
> > jmsnell 2003/03/17 20:34:12
> >
> > Modified: java/src/org/apache/axis/wsdl/fromJava Emitter.java
> > Log:
> > Temporary fix to address a regression (from 1.0 to 1.1
> > in the way org.w3c.dom.Document objects are handled. Without
> > this namespace declaration, Java2WSDL throws a fit. We need to
> > find an appropriate mapping for Document objects (they should
> > be treated the same as Element objects) and rework the code
> > accordingly.
> >
> > Revision Changes Path
> > 1.84 +9 -0
xml-axis/java/src/org/apache/axis/wsdl/fromJava/Emitter.java
> >
> > Index: Emitter.java
> > ===================================================================
> > RCS file:
/home/cvs/xml-axis/java/src/org/apache/axis/wsdl/fromJava/Emitter.java,v
> > retrieving revision 1.83
> > retrieving revision 1.84
> > diff -u -r1.83 -r1.84
> > --- Emitter.java 22 Feb 2003 16:49:15 -0000 1.83
> > +++ Emitter.java 18 Mar 2003 04:34:12 -0000 1.84
> > @@ -676,6 +676,15 @@
> > Constants.NS_URI_XMLSOAP);
> > namespaces.putPrefix(Constants.NS_URI_XMLSOAP,
> > Constants.NS_PREFIX_XMLSOAP);
> > +
> > + // This is a temporary fix to address a regression (from
1.0 to 1.1
> > + // in the way org.w3c.dom.Document objects are handled.
Without
> > + // this namespace declaration, Java2WSDL throws a fit. We
need to
> > + // find an appropriate mapping for Document objects (they
should
> > + // be treated the same as Element objects) and rework the
code
> > + // accordingly.
> > + def.addNamespace("w3c", "http://dom.w3c.org");
> > + namespaces.putPrefix("http://dom.w3c.org", "w3c");
> > }
> >
> > /**
> >
> >
> >
>
>
> =====
> Davanum Srinivas - http://webservices.apache.org/~dims/
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
> http://platinum.yahoo.com
=====
Davanum Srinivas - http://webservices.apache.org/~dims/
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com