You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by aj...@informatica.com on 2003/03/02 19:28:43 UTC

RE: cvs commit: xml-axis/java/test/wsdl/extensibility server-depl oy.wsdd

Quotes are not a problem in comments. The problem (as the parse exception
states not to clearly) was the double-hyphen.
Double hyphens ("--") are not allowed inside XML comments.

ArentJan

-----Oorspronkelijk bericht-----
Van: Davanum Srinivas [mailto:dims@yahoo.com] 
Verzonden: zondag 2 maart 2003 18:34
Aan: axis-dev@ws.apache.org
Onderwerp: RE: cvs commit: xml-axis/java/test/wsdl/extensibility server-depl
oy.wsdd

See enclosed tcpmon.txt...

<faultstring>org.xml.sax.SAXParseException: The string &quot;--&quot; is not
permitted within
comments.</faultstring>


--- Glen Daniels <gd...@macromedia.com> wrote:
> 
> Weird - this test worked (and still works repeatedly) for me before your
commit.  Where does it
> say comments can't have embedded quotes?  Nesting comments doesn't work
(like /* and */), but
> quotes should be fine...
> 
> Curious,
> --Glen
> 
> > -----Original Message-----
> > From: dims@apache.org [mailto:dims@apache.org]
> > Sent: Sunday, March 02, 2003 11:18 AM
> > To: xml-axis-cvs@apache.org
> > Subject: cvs commit: xml-axis/java/test/wsdl/extensibility
> > server-deploy.wsdd
> > 
> > 
> > dims        2003/03/02 08:17:57
> > 
> >   Modified:    java/test/wsdl/extensibility server-deploy.wsdd
> >   Log:
> >   comments cannot have embedded quotes...This was breaking the build.
> >   
> >   Revision  Changes    Path
> >   1.8       +0 -12     
> > xml-axis/java/test/wsdl/extensibility/server-deploy.wsdd
> >   
> >   Index: server-deploy.wsdd
> >   ===================================================================
> >   RCS file: 
> > /home/cvs/xml-axis/java/test/wsdl/extensibility/server-deploy.wsdd,v
> >   retrieving revision 1.7
> >   retrieving revision 1.8
> >   diff -u -r1.7 -r1.8
> >   --- server-deploy.wsdd	1 Mar 2003 02:28:27 -0000	1.7
> >   +++ server-deploy.wsdd	2 Mar 2003 16:17:57 -0000	1.8
> >   @@ -26,18 +26,6 @@
> >            encodingStyle=""
> >          />
> >          
> >   -        <!-- Removed.  The xsd:any is now mapped to a type 
> > XSD_ANY that 
> >   -        automatically uses the 
> > ElementSerializer/ElementDeserializer 
> >   -      <typeMapping
> >   -        qname="xsd:anyType"
> >   -        type="java:java.lang.Object"
> >   -        
> > serializer="org.apache.axis.encoding.ser.ElementSerializerFactory"
> >   -        
> > deserializer="org.apache.axis.encoding.ser.ElementDeserializerFactory"
> >   -        encodingStyle=""
> >   -      />
> >   -      -->
> >   -
> >   -
> >          <typeMapping
> >            qname="query:QueryResultElement"
> >            type="java:test.wsdl.extensibility._QueryResultElement"
> >   
> >   
> >   
> > 

=====
Davanum Srinivas - http://webservices.apache.org/~dims/

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

RE: cvs commit: xml-axis/java/test/wsdl/extensibility server-depl oy.wsdd

Posted by Davanum Srinivas <di...@yahoo.com>.
Updated to xerces 2.3.0 (from 2.2.0), don't see this problem any more....Also "ant clean
all-tests" worked fine (tried twice in a row).

Thanks,
dims

--- ajbanck@informatica.com wrote:
> Quotes are not a problem in comments. The problem (as the parse exception
> states not to clearly) was the double-hyphen.
> Double hyphens ("--") are not allowed inside XML comments.
> 
> ArentJan
> 
> -----Oorspronkelijk bericht-----
> Van: Davanum Srinivas [mailto:dims@yahoo.com] 
> Verzonden: zondag 2 maart 2003 18:34
> Aan: axis-dev@ws.apache.org
> Onderwerp: RE: cvs commit: xml-axis/java/test/wsdl/extensibility server-depl
> oy.wsdd
> 
> See enclosed tcpmon.txt...
> 
> <faultstring>org.xml.sax.SAXParseException: The string &quot;--&quot; is not
> permitted within
> comments.</faultstring>
> 
> 
> --- Glen Daniels <gd...@macromedia.com> wrote:
> > 
> > Weird - this test worked (and still works repeatedly) for me before your
> commit.  Where does it
> > say comments can't have embedded quotes?  Nesting comments doesn't work
> (like /* and */), but
> > quotes should be fine...
> > 
> > Curious,
> > --Glen
> > 
> > > -----Original Message-----
> > > From: dims@apache.org [mailto:dims@apache.org]
> > > Sent: Sunday, March 02, 2003 11:18 AM
> > > To: xml-axis-cvs@apache.org
> > > Subject: cvs commit: xml-axis/java/test/wsdl/extensibility
> > > server-deploy.wsdd
> > > 
> > > 
> > > dims        2003/03/02 08:17:57
> > > 
> > >   Modified:    java/test/wsdl/extensibility server-deploy.wsdd
> > >   Log:
> > >   comments cannot have embedded quotes...This was breaking the build.
> > >   
> > >   Revision  Changes    Path
> > >   1.8       +0 -12     
> > > xml-axis/java/test/wsdl/extensibility/server-deploy.wsdd
> > >   
> > >   Index: server-deploy.wsdd
> > >   ===================================================================
> > >   RCS file: 
> > > /home/cvs/xml-axis/java/test/wsdl/extensibility/server-deploy.wsdd,v
> > >   retrieving revision 1.7
> > >   retrieving revision 1.8
> > >   diff -u -r1.7 -r1.8
> > >   --- server-deploy.wsdd	1 Mar 2003 02:28:27 -0000	1.7
> > >   +++ server-deploy.wsdd	2 Mar 2003 16:17:57 -0000	1.8
> > >   @@ -26,18 +26,6 @@
> > >            encodingStyle=""
> > >          />
> > >          
> > >   -        <!-- Removed.  The xsd:any is now mapped to a type 
> > > XSD_ANY that 
> > >   -        automatically uses the 
> > > ElementSerializer/ElementDeserializer 
> > >   -      <typeMapping
> > >   -        qname="xsd:anyType"
> > >   -        type="java:java.lang.Object"
> > >   -        
> > > serializer="org.apache.axis.encoding.ser.ElementSerializerFactory"
> > >   -        
> > > deserializer="org.apache.axis.encoding.ser.ElementDeserializerFactory"
> > >   -        encodingStyle=""
> > >   -      />
> > >   -      -->
> > >   -
> > >   -
> > >          <typeMapping
> > >            qname="query:QueryResultElement"
> > >            type="java:test.wsdl.extensibility._QueryResultElement"
> > >   
> > >   
> > >   
> > > 
> 
> =====
> Davanum Srinivas - http://webservices.apache.org/~dims/
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more
> http://taxes.yahoo.com/


=====
Davanum Srinivas - http://webservices.apache.org/~dims/

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/