[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] and [!CDATA{ - Simple question


Subject: Re: [xsl] <xs:any> and [!CDATA{ - Simple question
From: Pedro Alves <pedro@xxxxxxxxxxxxxxxx>
Date: Tue, 28 Feb 2006 14:42:59 +0000

Thanks for your answers. In fact, it has nothing to do with xslt (my
apologies), but this was the list where I could find more knowledge about
xml and schema. I was right :)


On Tue, Feb 28, 2006 at 09:58:18AM -0000, Michael Kay wrote:
> 
> Your question doesn't seem to relate to XSLT.
> 
> But I think the answer (assuming that the complextype detail is the type of
> the detail element) is that hte schema does not allow text content and
> therefore does not allow a CDATA section, since a CDATA section is just
> another way of writing text content.
> 
> Michael Kay
> http://www.saxonica.com/ 
>  
> 
> > -----Original Message-----
> > From: Pedro Alves [mailto:pedro@xxxxxxxxxxxxxxxx] 
> > Sent: 27 February 2006 23:59
> > To: XSL List
> > Subject: [xsl] <xs:any> and [!CDATA{ - Simple question
> > 
> > 
> > 
> > Hello. I have a problem regarding weblogics soap response. 
> > 
> > Soap specification has the following:
> > 
> > ___________________________________________
> > <complexType name="detail">
> >   <sequence>
> >     <any namespace="##any" minOccurs="0" 
> > maxOccurs="unbounded" processContents="lax"/>
> >   </sequence>
> >   <anyAttribute namespace="##any" processContents="lax"/>
> > </complexType>
> > ___________________________________________
> > 
> > 
> > 
> > And the xml I get says something like the following in the middle:
> > 
> > 
> > ___________________________________________
> > <?xml version="1.0" encoding="UTF-8"?>
> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> >   <soap:Body>
> >     <soap:Fault>
> >       <faultcode>
> > Client
> > </faultcode>
> >       <faultstring>
> > com.altitude.tp.common.TransactionErrorException
> > </faultstring>
> >       <detail><![CDATA[
> > Application fault:
> > ><error><trxNumber>200602160008360421</trxNumber><statusFields
> > ><field>824</field></statusFields><errorType>FU</errorType><er
> rorCode>0</errorCode></erro
> > r>
> > at com.altitude.tp.logic.AltamiraLogicEJB.parseReturnFields(...)
> > (...)
> > ]]></detail>
> >     </soap:Fault>
> >   </soap:Body>
> > </soap:Envelope>
> > ___________________________________________
> > 
> > 
> > Since I'm not being able to connect axis to that weblogic, 
> > I'm trying to
> > prove my boss that's not my fault :) 
> > 
> > 
> > Is that <![CDATA[]] inside the <detail> a valid tag? 
> > 
> > 
> > 
> > Thanks
> > 
> > 
> > -- 
> > Pedro Alves
> > pedro.alves@xxxxxxxx

-- 
Pedro Alves
pedro.alves@xxxxxxxx


Current Thread
Keywords