Re: [SDO C++] Escaping special characters in XML

2007-12-04 Thread Caroline Maynard
Pete Robbins wrote: I've applied this patch to the branch. I'll apply it to head later. I had to change a couple of lines to construct SDOString from a start and end iterator as this caused compile errors on VC8. Cheers, On 30/11/2007, Caroline Maynard <[EMAIL PROTECTED]> wrote

Re: [SDO C++] Problem with special characters in property names

2007-12-04 Thread Caroline Maynard
I'm assuming NCName. So I think your patch looks good. The usual place where hyphens in names become a problem is when mapping to programming language label but that is something that code gen should take care of. This will be an issue in the HEAD as well as the branch. Cheers, On 16/11

[SDO C++] Escaping special characters in XML

2007-11-30 Thread Caroline Maynard
I've uploaded a proposed patch for http://issues.apache.org/jira/browse/TUSCANY-1553. Please take a look. It runs all the PHP regression tests without problems, and also makes the uploaded test run clean. - To unsubscribe, e-

[jira] Updated: (TUSCANY-1553) XML characters are not escaped by XMLHelper.

2007-11-30 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard updated TUSCANY-1553: -- Attachment: Tuscany-1553.phpt OK, so you need php to run this test, but just viewing

[jira] Updated: (TUSCANY-1553) XML characters are not escaped by XMLHelper.

2007-11-30 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard updated TUSCANY-1553: -- Attachment: tuscany-1553.patch Herewith a proposed patch for this issue. I have not

[jira] Updated: (TUSCANY-1553) XML characters are not escaped by XMLHelper.

2007-11-30 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard updated TUSCANY-1553: -- Component/s: C++ SDO > XML characters are not escaped by XMLHel

[SDO C++] Problem with special characters in property names

2007-11-16 Thread Caroline Maynard
A PHP user is facing a problem using a schema which uses the - (hyphen) character in element names, as second or subsequent character. We thinks this is valid XML, according to http://www.w3.org/TR/REC-xml/#NT-NameChar, where the grammar is: [4] NameChar ::= Letter | Digit | '.' | '-' | '_' |

Re: [SDO C++] AccessViolation in XMLHelperImpl

2007-11-05 Thread Caroline Maynard
Pete Robbins wrote: Thanks for that. I'll fix it right away. Thanks, Pete - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[SDO C++] AccessViolation in XMLHelperImpl

2007-11-02 Thread Caroline Maynard
A user has found a vulnerability in XMLHelperImpl::createDocument, the one with the const char * parameters. The problem being that the root element name is initialized with the parameter >before< the code which checks for the parameter being null. I'll add a guard for this in the PHP code, but

Re: [Fwd: Re: [jira] Created: (TUSCANY-1529) Tuscany SDO native for windows is not msvc backwards compatible]

2007-08-13 Thread Caroline Maynard
Brady Johnson wrote: That's good to know the background to that include file, I didn't know about it. I'll definitely keep it in mind. I don't think the change I made should affect you, let me know if it does. Thanks. As discussed previously, we're sticking with the branch for now, and will m

[Fwd: Re: [jira] Created: (TUSCANY-1529) Tuscany SDO native for windows is not msvc backwards compatible]

2007-08-13 Thread Caroline Maynard
Original Message Subject: Re: [jira] Created: (TUSCANY-1529) Tuscany SDO native for windows is not msvc backwards compatible Date: Mon, 13 Aug 2007 10:57:44 +0100 From: Caroline Maynard <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] News

Re: [jira] Created: (TUSCANY-1529) Tuscany SDO native for windows is not msvc backwards compatible

2007-08-13 Thread Caroline Maynard
Brady Johnson (JIRA) wrote: Tuscany SDO native for windows is not msvc backwards compatible Don't I know it. In the PHP project the automated build servers for Win use VC6, so we are obliged to use that compiler in the SDO for PH

[jira] Commented: (TUSCANY-1397) createDataObject() throws NPE if property does not exist

2007-08-01 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516978 ] Caroline Maynard commented on TUSCANY-1397: --- The current SDO C++ implementation does create the property

Re: [SCA Native] SDO Build error on Linux

2007-07-25 Thread Caroline Maynard
Jean-Sebastien Delfino wrote: Trying to build Native/C++ SDO on Linux RHEL5 gives me this error: if /bin/sh ../../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../runtime/core/src -I//home/delfinoj/include/libxml2 -g -O0 -MT HelperPr

[jira] Updated: (TUSCANY-1425) Compile failure on Fedora 6

2007-07-12 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard updated TUSCANY-1425: -- Attachment: tuscany-1425.patch > Compile failure on Fedor

[jira] Created: (TUSCANY-1425) Compile failure on Fedora 6

2007-07-12 Thread Caroline Maynard (JIRA)
Environment: Fedora 6 Reporter: Caroline Maynard Priority: Critical A PHP user reports a compile failure on Fedora 6. The attached change to SDOSchemaSAX2Parser.h sorts it, and seems benign on Win. FWIW, I also attach a fix for a compiler warning in TypeImpl.cpp. The patch is

Re: SDO C++ compliance with 2.1 spec - help needed

2007-06-29 Thread Caroline Maynard
Caroline Maynard wrote: However we don't have a huge amount of code, and it is very simple to download it from cvs using pserver:[EMAIL PROTECTED]:/repository checkout pecl/sdo and load it into cscope or similar, so you could easily check for references that way. Or you could just

Re: SDO C++ compliance with 2.1 spec - help needed

2007-06-28 Thread Caroline Maynard
Pete Robbins wrote: On 25/06/07, Caroline Maynard <[EMAIL PROTECTED]> wrote: A fair amount actually, but I am making an assumption that once the changes are in place, the migration effort will be largely refactoring. That is, that the non-spec function will resurface in T

Re: SDO C++ compliance with 2.1 spec - help needed

2007-06-25 Thread Caroline Maynard
Simon Laws wrote: On 6/23/07, Pete Robbins <[EMAIL PROTECTED]> wrote: I have created a maintenance branch */incubator/tuscany/branches/sdo- cpp-pre2.1/* Work towards SDO 2.1 specification compliance will continue in HEAD. Pete, thanks for creating the branch, it will be helpful in keeping th

Re: C++ SDO spec portability: RefCountingPointer

2007-06-25 Thread Caroline Maynard
Pete Robbins wrote: The ostream operator << is very useful and there is a default implementation in RefCountingObject so that objects inheriting from RefCounting object do not need to implement anything... but they can if appropriate. Yes, the << operator is very useful to consumers of the

[jira] Updated: (TUSCANY-1297) xsi:type in generated XML causes it not to validate/load into: visual studio or Mindreef SOAPscope

2007-05-23 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard updated TUSCANY-1297: -- Component/s: (was: C++ DAS) C++ SDO > xsi:type in generated

[SDO C++] JIRA status

2007-05-04 Thread Caroline Maynard
I've recently spent some time reviewing all the JIRAs that have originated from the PHP project. All the problems which remain in Open state raised by myself, Matthew Peters or Graham Charters are genuine current issues. Also I've verified and closed off all the issues from the PHP project th

[jira] Created: (TUSCANY-1240) Compilation warnings

2007-05-02 Thread Caroline Maynard (JIRA)
, Linux AMD64, gcc Reporter: Caroline Maynard Priority: Trivial Compilation warnings: /home/cem/pecl-sdo-BUZZARD/commonj/sdo/PropertyImpl.cpp: In destructor `virtual commonj::sdo::PropertyImpl::~PropertyImpl()': /home/cem/pecl-sdo-BUZZARD/commonj/sdo/PropertyImpl.cp

[SDO C++] SDOList is not reference-counted

2007-05-01 Thread Caroline Maynard
I've recently had to fix a problem in the SDO for PHP code where the user was holding a reference to a DataObjectList, the containing DataObject was dropped, and the list went eerily empty. Example: DataObjectPtr dop = xmlDocumentPtr->getRootDataObject(); DataObjectList& dol = dop->getList(prop

Re: [C++] XMLDocument has no root object

2007-04-27 Thread Caroline Maynard
On 27/04/07, Andy Grove <[EMAIL PROTECTED]> wrote: I'm not using schema - is that a problem? Ah. Welcome to https://issues.apache.org/jira/browse/TUSCANY-747 -- Caroline

Re: [C++] XMLDocument has no root object

2007-04-27 Thread Caroline Maynard
On 27/04/07, Andy Grove <[EMAIL PROTECTED]> wrote: Hi Caroline, If I call xmlHelper->save(doc) I just get the prolog e.g. "" and no content. I've tried with a couple of different input documents and I have also confirmed that I do get an exception if the input document doesn't exist. I've

Re: [C++] XMLDocument has no root object

2007-04-27 Thread Caroline Maynard
On 27/04/07, Andy Grove <[EMAIL PROTECTED]> wrote: I am trying to parse an XML document using Tuscany C++ (current build). The XMLHelper::loadFile() method is returning an XMLDocumentPtr and no exceptions are thrown. However, a call to XMLDocument::getRootDataObject() returns NULL. What do y

[jira] Created: (TUSCANY-1236) False positives from DataObject::isSet (xpath)

2007-04-27 Thread Caroline Maynard (JIRA)
Affects Versions: Cpp-M1 Environment: PHP, Win32 Reporter: Caroline Maynard Problem occurs when a PHP SDO program uses Xpath notation. For example: isset($rss['channel/item[2]']); The PHP sdo implementation currently does not attempt to parse the Xpath, but delegat

[jira] Closed: (TUSCANY-1226) Nulls go missing in CopyHelper

2007-04-26 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard closed TUSCANY-1226. - > Nulls go missing in CopyHelper > -- > >

[jira] Closed: (TUSCANY-1133) Support the PHP extension under Windows

2007-04-26 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard closed TUSCANY-1133. - > Support the PHP extension under Wind

[jira] Closed: (TUSCANY-1225) Access violation in CopyHelper

2007-04-26 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard closed TUSCANY-1225. - The AccessViolation is gone. The test still doesn't work, but I'll use Tusca

[jira] Reopened: (TUSCANY-1226) Nulls go missing in CopyHelper

2007-04-26 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard reopened TUSCANY-1226: --- > Nulls go missing in CopyHel

[jira] Updated: (TUSCANY-1226) Nulls go missing in CopyHelper

2007-04-26 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard updated TUSCANY-1226: -- Attachment: Tuscany-1226.patch Got rid of the crash but didn't quite do it f

[jira] Closed: (TUSCANY-962) Incorrect namespace for open content

2007-04-25 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard closed TUSCANY-962. > Incorrect namespace for open cont

[jira] Closed: (TUSCANY-980) DataObject assigned into open property goes missing

2007-04-25 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard closed TUSCANY-980. > DataObject assigned into open property goes miss

[jira] Commented: (TUSCANY-988) Xpath doesn't work with nested open properties

2007-04-25 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491857 ] Caroline Maynard commented on TUSCANY-988: -- See http://pecl.php.net/bugs/bug.php?id=10842 > Xpath does

[jira] Closed: (TUSCANY-907) Schema Import is noisy when schemaLocation is an abolute URI

2007-04-25 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard closed TUSCANY-907. Resolution: Fixed Warnings have been eliminated. > Schema Import is noisy w

[jira] Closed: (TUSCANY-625) [SDO for C++] XSDHelperImpl::defineFile is unhelpful when schemaLocation is omitted from an import

2007-04-25 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard closed TUSCANY-625. > [SDO for C++] XSDHelperImpl::defineFile is unhelpful when schemaLocation is > omitte

[jira] Resolved: (TUSCANY-625) [SDO for C++] XSDHelperImpl::defineFile is unhelpful when schemaLocation is omitted from an import

2007-04-25 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard resolved TUSCANY-625. -- Resolution: Fixed At some point a second (boolean) parameter was added to defineFile

[jira] Updated: (TUSCANY-1231) Various incorrect namespaces in generated XML

2007-04-25 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard updated TUSCANY-1231: -- Component/s: (was: C++ DAS) C++ SDO > Various incorr

[jira] Updated: (TUSCANY-1112) Incorrect namespaces in generated XML

2007-04-25 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard updated TUSCANY-1112: -- Component/s: (was: C++ DAS) C++ SDO > Incorrect namespaces

[jira] Commented: (TUSCANY-625) [SDO for C++] XSDHelperImpl::defineFile is unhelpful when schemaLocation is omitted from an import

2007-04-24 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491468 ] Caroline Maynard commented on TUSCANY-625: -- We're still hoping for solution to this one. > [S

[jira] Closed: (TUSCANY-950) CopyHelper::copy() forgets sequence information

2007-04-24 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard closed TUSCANY-950. Resolution: Fixed Problem stated has been fixed. > CopyHelper::copy() forgets seque

[jira] Created: (TUSCANY-1227) FileException not thrown when schema file missing

2007-04-24 Thread Caroline Maynard (JIRA)
Affects Versions: Cpp-current Environment: PHP, Win32 Reporter: Caroline Maynard Priority: Minor This regression occurred a few months back. When I do XSDHelper::defineFile("nonexistent.xsd"), Tuscany used to give me an SDOFileNotFoundException. Now i

[jira] Created: (TUSCANY-1226) Nulls go missing in CopyHelper

2007-04-24 Thread Caroline Maynard (JIRA)
Environment: PHP, WIn32 Reporter: Caroline Maynard Priority: Minor Fix For: Cpp-current This is perhaps a variation on Tuscany-1225. Problem is that when using CopyHelper to clone a DataObject, properties which are set to null remain unset in the

[jira] Commented: (TUSCANY-1225) Access violation in CopyHelper

2007-04-24 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491222 ] Caroline Maynard commented on TUSCANY-1225: --- Of course those are two parts of the same schema - there

[jira] Created: (TUSCANY-1225) Access violation in CopyHelper

2007-04-24 Thread Caroline Maynard (JIRA)
Environment: Win32, PHP Reporter: Caroline Maynard Cloning a DataObject withe a property that has been explicitly set to null results in an AccessViolation: commonj::sdo::CopyHelper::internalCopy(commonj::sdo::RefCountingPointer {...}, unsigned char 0x01) line 277 + 3 bytes

[jira] Closed: (TUSCANY-1202) AccessViolation in DataObjectImpl::logDeletion()

2007-04-19 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard closed TUSCANY-1202. - Resolution: Fixed Fix Version/s: Cpp-current Combined patch committed

[jira] Closed: (TUSCANY-1203) Yet another AccessViolation in DataObjectImpl::~DataObjectImpl

2007-04-19 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard closed TUSCANY-1203. - Resolution: Fixed Fix Version/s: Cpp-current Combined patch committed >

[jira] Closed: (TUSCANY-1147) AccessViolation in DataObjectImpl::clearReferences()

2007-04-19 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard closed TUSCANY-1147. - Resolution: Fixed Fix Version/s: Cpp-current Patch committed > AccessViolat

Re: {SDO C++] Untangling the graph without access violations

2007-04-15 Thread Caroline Maynard
Thanks, Pete On 10/04/07, Pete Robbins <[EMAIL PROTECTED]> wrote: Patch applied. Looks ok to me. -- Caroline

{SDO C++] Untangling the graph without access violations

2007-04-05 Thread Caroline Maynard
Memory leaks are a major concern for PHP users in a long-running web server. For some time we've had a problem that we cannot reliably drop a datagraph because of various access violations which may occur, depending on the order in which the data objects are released. We've bypassed the access vio

[jira] Updated: (TUSCANY-1203) Yet another AccessViolation in DataObjectImpl::~DataObjectImpl

2007-04-05 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard updated TUSCANY-1203: -- Patch Info: [Patch Available] I'vve added to 1147 a combined patch for 1147,

[jira] Updated: (TUSCANY-1202) AccessViolation in DataObjectImpl::logDeletion()

2007-04-05 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard updated TUSCANY-1202: -- Patch Info: [Patch Available] I'vve added to 1147 a combined patch for 1147,

[jira] Updated: (TUSCANY-1147) AccessViolation in DataObjectImpl::clearReferences()

2007-04-05 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard updated TUSCANY-1147: -- Attachment: Tuscany-combined.patch I've appended a combined patch for 1147, 120

[jira] Updated: (TUSCANY-1202) AccessViolation in DataObjectImpl::logDeletion()

2007-04-05 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard updated TUSCANY-1202: -- Attachment: Tuscany-1202.patch I'm not convinced that it's worth the

[jira] Updated: (TUSCANY-1203) Yet another AccessViolation in DataObjectImpl::~DataObjectImpl

2007-04-05 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard updated TUSCANY-1203: -- Attachment: Tuscany-1203.patch My solution is to check the property value as well as

[jira] Created: (TUSCANY-1203) Yet another AccessViolation in DataObjectImpl::~DataObjectImpl

2007-04-05 Thread Caroline Maynard (JIRA)
Components: C++ SDO Affects Versions: Cpp-current Environment: PHP Reporter: Caroline Maynard This one occurs when deleting a DataObject which has several open properties. The logic in the destructor is: while (i != PropertyValues.end

[jira] Created: (TUSCANY-1202) AccessViolation in DataObjectImpl::logDeletion()

2007-04-04 Thread Caroline Maynard (JIRA)
Affects Versions: Cpp-current Environment: PHP Reporter: Caroline Maynard Like Tuscany 1147, this problem is seen running the SDOAPITest PHPUNIT testcase. The scenario is the same, but this time ChangeLogging type objects exist in the tree (note that Logging does not need to

[jira] Created: (TUSCANY-1201) AccessViolation in DataObjectImpl::logDeletion()

2007-04-04 Thread Caroline Maynard (JIRA)
Affects Versions: Cpp-current Environment: Win32, PHP 5.2.1 Reporter: Caroline Maynard Priority: Critical Problem observed when SDO A refers to SDO B. The reference to SDO A is dropped. Then the reference to SDO B is dropped. An AccessViolation occurs in the

[jira] Closed: (TUSCANY-1201) AccessViolation in DataObjectImpl::logDeletion()

2007-04-04 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard closed TUSCANY-1201. - Resolution: Invalid > AccessViolation in DataObjectImpl::logDelet

[jira] Updated: (TUSCANY-1147) AccessViolation in DataObjectImpl::clearReferences()

2007-04-04 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard updated TUSCANY-1147: -- Attachment: Tuscany-1147.patch OK, here's version 3. This one has the same co

[jira] Commented: (TUSCANY-1147) AccessViolation in DataObjectImpl::clearReferences()

2007-03-30 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485502 ] Caroline Maynard commented on TUSCANY-1147: --- Sorry, there's a mistake in the test case I uploaded

[jira] Updated: (TUSCANY-1147) AccessViolation in DataObjectImpl::clearReferences()

2007-03-30 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard updated TUSCANY-1147: -- Attachment: SDOAPITest.php Here's an extremely stripped-down version of the te

[jira] Updated: (TUSCANY-1147) AccessViolation in DataObjectImpl::clearReferences()

2007-03-29 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard updated TUSCANY-1147: -- Attachment: Tuscany-1147.patch Here's the two-line fix, which should

Re: [SDO C++] Caching the types parsed from XSDs

2007-03-28 Thread Caroline Maynard
Pete Robbins wrote: XSDHelperPtr myHelper = HelperProvider::getXSDHelper(); myHelper->defineTypes(wsdlHelper->getDefinedTypes()); which creates a new XSDHelper and DataFactory containing the Types and Properties from the wsdlHelper + all the schema information (which is held in the TypeDefiniti

Re: [SDO C++] Caching the types parsed from XSDs

2007-03-28 Thread Caroline Maynard
Pete Robbins wrote: XSDHelperPtr myHelper = HelperProvider::getXSDHelper(); myHelper->defineTypes(wsdlHelper->getDefinedTypes()); which creates a new XSDHelper and DataFactory containing the Types and Properties from the wsdlHelper + all the schema information (which is held in the TypeDefiniti

[jira] Closed: (TUSCANY-960) Spurious xsi:type="OpenDataObject" attribute generated

2007-03-22 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard closed TUSCANY-960. > Spurious xsi:type="OpenDataObject" attrib

[jira] Closed: (TUSCANY-963) Spurious elements generated

2007-03-22 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard closed TUSCANY-963. > Spurious elements generated > --- > >

[jira] Closed: (TUSCANY-1103) Won't compile with VC6

2007-03-22 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard closed TUSCANY-1103. - > Won't compile with VC6 > -- > >

[jira] Resolved: (TUSCANY-1133) Support the PHP extension under Windows

2007-03-22 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard resolved TUSCANY-1133. --- Resolution: Fixed Update has been committed. > Support the PHP extension un

[jira] Closed: (TUSCANY-1166) Won't compile with VC6 (again)

2007-03-22 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard closed TUSCANY-1166. - > Won't compile with VC6 (again) > -- > >

[jira] Closed: (TUSCANY-959) Please use thread-safe libraries

2007-03-22 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard closed TUSCANY-959. Thanks > Please use thread-safe librar

Re: [VOTE] Release Milestone 3 of Tuscany SCA Native and Tuscany SDO C++

2007-03-22 Thread Caroline Maynard
The news is all good. Both problems were in the PHP SDO testcases, and were showed up now that Tuscany's support for adding properties to a data object through the sequence interface is fixed. Sorry for the noise. On 21/03/07, Caroline Maynard <[EMAIL PROTECTED]> wrote: > > Ju

Re: [VOTE] Release Milestone 3 of Tuscany SCA Native and Tuscany SDO C++

2007-03-22 Thread Caroline Maynard
ut I can't be completely sure what levels they were. On 21/03/07, Pete Robbins <[EMAIL PROTECTED]> wrote: On 21/03/07, Caroline Maynard <[EMAIL PROTECTED]> wrote: > Just wanted quickly to report that I've updated my local copy of the PHP > extension for SDO to Tuscany

Re: [VOTE] Release Milestone 3 of Tuscany SCA Native and Tuscany SDO C++

2007-03-21 Thread Caroline Maynard
Just wanted quickly to report that I've updated my local copy of the PHP extension for SDO to Tuscany revision level 520962, and I am seeing two regressions in previously working testcases. I don't have enough evidence yet to say if these are Tuscany issues or errors introduced in the PHP side, bu

Re: Native M3 Release Candidate

2007-03-15 Thread Caroline Maynard
Would you please include my patch for https://issues.apache.org/jira/browse/TUSCANY-1166? AFAIK this is not contentious. -- Caroline

[SDO C++] compilation error

2007-03-13 Thread Caroline Maynard
After getting up to date, I'm seeing: SequenceImpl.cpp c:\dev\pecl\sdo\commonj\sdo\sequenceimpl.h(344) : error C4716: 'commonj::sdo::SequenceImpl::seq_item::operator=' : must return a value NMAKE : fatal error U1077: '"cl.exe"' : return code '0x2' Stop. Now the code in question is // Cop

[jira] Updated: (TUSCANY-1166) Won't compile with VC6 (again)

2007-03-13 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard updated TUSCANY-1166: -- Priority: Critical (was: Major) > Won't compile with VC

[jira] Updated: (TUSCANY-1166) Won't compile with VC6 (again)

2007-03-13 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard updated TUSCANY-1166: -- Attachment: Tuscany-1166.patch Workaround for VC6 variable scope problem. > Wo

[jira] Created: (TUSCANY-1166) Won't compile with VC6 (again)

2007-03-13 Thread Caroline Maynard (JIRA)
rrent Environment: Win32, MSVC++ 6 Reporter: Caroline Maynard Compilation error : SDOXSDWriter.cpp c:\dev\pecl\sdo\commonj\sdo\sdoxsdwriter.cpp(566) : error C2086: 'j' : redefinition NMAKE : fatal error U1077: '"cl.exe"' : return code '0x2' S

[jira] Commented: (TUSCANY-1147) AccessViolation in DataObjectImpl::clearReferences()

2007-03-01 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476960 ] Caroline Maynard commented on TUSCANY-1147: --- My bad. It wasn't intuitive to me :-) By drop, I

[jira] Commented: (TUSCANY-1147) AccessViolation in DataObjectImpl::clearReferences()

2007-03-01 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476934 ] Caroline Maynard commented on TUSCANY-1147: --- That doesn't surprise me too much, there seems to be

[jira] Updated: (TUSCANY-1147) AccessViolation in DataObjectImpl::clearReferences()

2007-02-28 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard updated TUSCANY-1147: -- Priority: Critical (was: Major) > AccessViolation in DataObjectI

[jira] Updated: (TUSCANY-1147) AccessViolation in DataObjectImpl::clearReferences()

2007-02-28 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard updated TUSCANY-1147: -- Attachment: Tuscany-1147.patch Attached is a patch which resolves this issue for me

[jira] Created: (TUSCANY-1147) AccessViolation in DataObjectImpl::clearReferences()

2007-02-28 Thread Caroline Maynard (JIRA)
++ SDO Affects Versions: Cpp-current Environment: Win32, PHP 5.2.1 Reporter: Caroline Maynard Problem observed when SDO A refers to SDO B. The reference to SDO A is dropped. Then the reference to SDO B is dropped. An AccessViolation occurs in the SDODataObject destructor

Re: [C++] SCA PHP Extension patches

2007-02-21 Thread Caroline Maynard
I had attached it to my post, and it appeared to get through OK for me, but perhaps not for others. So I've now raised https://issues.apache.org/jira/browse/TUSCANY-1133 and attached it to that. On 21/02/07, Simon Laws <[EMAIL PROTECTED]> wrote: I can't find the JIRA that you attached the pa

[jira] Updated: (TUSCANY-1133) Support the PHP extension under Windows

2007-02-21 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard updated TUSCANY-1133: -- Attachment: Tuscany-1133.patch > Support the PHP extension under Wind

[jira] Created: (TUSCANY-1133) Support the PHP extension under Windows

2007-02-21 Thread Caroline Maynard (JIRA)
Versions: Cpp-current Reporter: Caroline Maynard Priority: Minor Fix For: Cpp-current I've been battling with getting this working under Windows, and attach a patch with my latest efforts. Note that these changes work hand-in-hand with corresponding chang

Re: [C++] SCA PHP Extension patches

2007-02-21 Thread Caroline Maynard
I've been battling with getting this working under Windows, and attach a patch with my latest efforts. Note that these changes work hand-in-hand with corresponding changes to the Tuscany bindings for PHP SCA, which are already in place in the AVOCET branch in the PECL repository. On my Windows bo

Re: [jira] Updated: (TUSCANY-547) Discriminated types

2007-02-10 Thread Caroline Maynard
On 09/02/07, Caroline Maynard <[EMAIL PROTECTED]> wrote: Next, I'm seeing quite a few access violations. Investigating ... After much fretting about reference-couting pointers, a completely clean build sorted those out. I'm left with only one problem from running the PHP

Re: [jira] Updated: (TUSCANY-547) Discriminated types

2007-02-09 Thread Caroline Maynard
On 08/02/07, Caroline Maynard <[EMAIL PROTECTED]> wrote: Geoff, sorry I hadn't responded to this sooner, but I was working on a release of SCA and SDO for PHP and didn't want to pick up your latest code at that point. The release is done now, so I'll give the new stuff a

[jira] Updated: (TUSCANY-1103) Won't compile with VC6

2007-02-09 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard updated TUSCANY-1103: -- Attachment: Tuscany-1103.patch Of course I meant A is DataTypeInfo in the above

[jira] Created: (TUSCANY-1103) Won't compile with VC6

2007-02-09 Thread Caroline Maynard (JIRA)
nment: WinXP, VC6 Reporter: Caroline Maynard Priority: Critical Yes, I know the compiler of choice for Tuscany is now VC8. However the compiler used by the automated Windows builds for PHP is VC6, and there are issues preventing the PHP community from upgrading at pr

[Fwd: [ANNOUNCEMENT] SCA_SDO-1.1.2 (stable) Released.]

2007-02-08 Thread Caroline Maynard
.net/package-changelog.php?package=SCA_SDO Download: http://pecl.php.net/get/SCA_SDO-1.1.2.tgz Authors ----- Caroline Maynard <[EMAIL PROTECTED]> (lead) Graham Charters <[EMAIL PROTECTED]> (lead) Matthew Peters <[EMAIL PROTECTE

Re: [jira] Updated: (TUSCANY-547) Discriminated types

2007-02-08 Thread Caroline Maynard
Geoff, sorry I hadn't responded to this sooner, but I was working on a release of SCA and SDO for PHP and didn't want to pick up your latest code at that point. The release is done now, so I'll give the new stuff a whirl and see how it goes. Looks like it's now in HEAD, right? Geoff Winn

Re: [jira] Resolved: (TUSCANY-990) Avoid duplicated/infinite loading

2007-01-05 Thread Caroline Maynard
Fri, 05 Jan 2007 02:50:01 -0800 Excellent. Thank you. I've applied that patch. Works for me, thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [jira] Resolved: (TUSCANY-990) Avoid duplicated/infinite loading

2007-01-04 Thread Caroline Maynard
On 04/01/07, Geoffrey Winn <[EMAIL PROTECTED]> wrote: I have a couple of comments. 1. In the patch XSDHelperImpl.990 you _must_ add comments to explain what the code is doing and why. 2. Regarding xmlCanonicPath, performance is not an issue. This section of code won't be called often enough to

Re: [jira] Resolved: (TUSCANY-990) Avoid duplicated/infinite loading

2007-01-03 Thread Caroline Maynard
The good news is that the fix does work for me. Though I would suggest thinking about using xmlCanonicPath() to keep the Tuscany code simpler and the URI function in libxml where it belongs. xmlCanonicPath() will silently handle platform-specific paths, too. The bad news is that the tests still f

Re: [jira] Resolved: (TUSCANY-990) Avoid duplicated/infinite loading

2007-01-03 Thread Caroline Maynard
e specified "\" unwise. Or are you using "C:\path\to\the.xsd" for XSDHelper#defineFile? Neither SDO spec 2.1 C++ nor the Java counterpart seems specifying the input. I think it's reasonable to support that for XSDHelper#defineFile on Windows only. What's everyone'

  1   2   >