Locally in my builld I have just upgraded EIDER to tuscany revision
55041 to included the changes to prevent schema being re-read if it is
read via namspace only (TUSCANY-1362). I am seeing some problems now
with the soap mapper unit test. In particular.

PHPUnit Tests
PHPUnit 3.0.0 by Sebastian Bergmann.

...................................S.....
.........................................
..........................S......<?xml version="1.0" encoding="UTF-8"?
>
<BOGUS xmlns="http://TypeHandlerTest2";>
<p1>
<tns2:name>William Shakespeare</tns2:name>
<tns2:dob>April 1564, most likely 23rd</tns2:dob>
<tns2:pob>Stratford-upon-Avon, Warwickshire</tns2:pob>
</p1>
</BOGUS>
F.......
...I...........I.........................
.........................................
...

Time: 00:31

There was 1 failure:

1)
testToXmlGeneratesGoodXmlFromSdoWithSdos(SCA_Bindings_soap_MapperTest)
Failed asserting that <text> contains "<name>William Shakespeare</
name>".
C:\simon\Projects\Tuscany\php\branch-build\pecl\sdo\tests\SCA\phpunit
\SoapBindin
g\MapperTest.php:126
C:\simon\Projects\Tuscany\php\branch-build\pecl\sdo\tests
\TestSuite.php:41
C:\simon\Projects\Tuscany\php\branch-build\pecl\sdo\tests
\TestSuite.php:58
C:\simon\Projects\Tuscany\php\branch-build\pecl\sdo\tests\AllTests.php:
28

You will note that I added a line to print out the XML that it is
failing on. It seems that SDO thinks the elements are in a namespace
identified by tns2 but that short name is not defined in the output
document. This is not actually why the test is failing. It's failing
as it's not expecting to see tns2 at all. But I don't believe tns2 is
required.

Needs more investigation but I thought I would post this in case
someone else embarks on the same piece of work.

As an aside I can check the updated SDO implementation into EIDER if
anyone wants to try it. I have updated SDOUserMacros.h to match what
is required for PHP SDO. Is there anything elses I need to fix up
before I check in?

Regards

Simon


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"phpsoa" group.
To post to this group, send email to phpsoa@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to