[phpXML] RE: [phpXML] Re: [phpXML] xpath bug with hyphens
Brought to you by:
bs_php,
nigelswinson
From: <aj...@ho...> - 2001-10-08 15:25:07
|
My file's header just says 1.0, no more details than that. But, I downloaded the latest and the suspect area seems to be unchanged. Here is what I believe is suspect. The are that begins as follows, on line 1492: // Check whether the operator is a - sign. if ( $operator == "-" ) My xpath looks like this: //map/association[translate(@from-class,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdef ghijklmnopqrstuvwxyz')='User']"; When I remove the hyphen from the dtd, schema, xpath, etc, the query works find. But, with a hyphen, the class strips the hyphen and returns an empty result. I could just remove the hyphen forever, but the hyphen is valid as far as I know. So, I'll continue to look at the code. -----Original Message----- From: nig...@us... [mailto:nig...@us...] Sent: Friday, August 24, 2001 5:22 PM To: us...@li... Subject: [phpXML] Re: [phpXML] xpath bug with hyphens > I have defined a schema that has nodes with attributes that contain hyphens. > The xpath processor appears to not like this. Has anyone experienced this? > Has anyone found this and already fixed it? I don't believe anyone has found this to be a bug yet. Are you using version 1.N.4? > Is there an archive of the mailing list? The links you are looking for are: http://www.sourceforge.net/projects/phpxmldb Follow the mail list links to find a geocrawler archive of this list. Nigel -- This message has been sent through the <phpXML/> user discussion list. To unsubscribe, please visit https://sslsites.de/mailinglisten/user/us...@li.../ -- This message has been sent through the <phpXML/> user discussion list. To unsubscribe, please visit https://sslsites.de/mailinglisten/user/us...@li.../ |