You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by Oliver Zeigermann <oz...@c1-fse.de> on 2003/10/28 09:51:28 UTC

Mismatch in test cases

Hi,

in all test cases for locking there is a mismatch between the expected 
and received response in element <owner>. The DAV server returns

<A:href xmlns:A="DAV:" /> in CDATA block

thus the expected response should be

&lt;A:href xmlns:A="DAV:" /&gt;

as the whole response is in a CDATA block already.

I suppose this is due to my configuration. I use Tomcat 4.1.27 and the 
latest CVS version of Slide, my XML parser is Crimson.

Any experience?

Oliver



---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org


Re: Mismatch in test cases

Posted by Oliver Zeigermann <oz...@c1-fse.de>.
The URL problem is fixed in the xercer 2.5 release. Replacing the jars 
"xercesImpl.jar" and "xmlParserAPIs.jar" in "testsuite\lib" fixes the 
problem.

Although, there still is the problem with expected values not 
*literally*, but only semantically matching received values as described 
below. What to do here?

Peter, do you have this problem as well or am I doing anything wrong 
here? If it is a general problem I would volunteer to fix it.

Oliver

Oliver Zeigermann wrote:

> Seems to be a whitespace issue in Crimson. Unfortunately I can not use 
> Xerces, as it requires full URLs as system identifiers and certain ids 
> are missing the protocol.
> 
> Any hints?
> 
> Thanks in advance,
> 
> Oliver
> 
> Oliver Zeigermann wrote:
> 
>> Hi,
>>
>> in all test cases for locking there is a mismatch between the expected 
>> and received response in element <owner>. The DAV server returns
>>
>> <A:href xmlns:A="DAV:" /> in CDATA block
>>
>> thus the expected response should be
>>
>> &lt;A:href xmlns:A="DAV:" /&gt;
>>
>> as the whole response is in a CDATA block already.
>>
>> I suppose this is due to my configuration. I use Tomcat 4.1.27 and the 
>> latest CVS version of Slide, my XML parser is Crimson.
>>
>> Any experience?
>>
>> Oliver
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: slide-dev-help@jakarta.apache.org
>>
>>
>> .
>>
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-dev-help@jakarta.apache.org
> 
> 
> .
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org


Re: Mismatch in test cases

Posted by Oliver Zeigermann <oz...@c1-fse.de>.
Seems to be a whitespace issue in Crimson. Unfortunately I can not use 
Xerces, as it requires full URLs as system identifiers and certain ids 
are missing the protocol.

Any hints?

Thanks in advance,

Oliver

Oliver Zeigermann wrote:

> Hi,
> 
> in all test cases for locking there is a mismatch between the expected 
> and received response in element <owner>. The DAV server returns
> 
> <A:href xmlns:A="DAV:" /> in CDATA block
> 
> thus the expected response should be
> 
> &lt;A:href xmlns:A="DAV:" /&gt;
> 
> as the whole response is in a CDATA block already.
> 
> I suppose this is due to my configuration. I use Tomcat 4.1.27 and the 
> latest CVS version of Slide, my XML parser is Crimson.
> 
> Any experience?
> 
> Oliver
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-dev-help@jakarta.apache.org
> 
> 
> .
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org