[phpXML] [BUG] Quote removal
Brought to you by:
bs_php,
nigelswinson
From: <nig...@us...> - 2001-10-08 16:11:50
|
> Is there a mailing-list, forum, ChangeLog, anything available? The web > site lacks information :( No forum. I'm working on an archive for this list. I'll let you know when I've got it fixed and up and running. It will include all the last 166 messages posted to this list since it's creation. Version 1.N.X has a change log and a known bug list for 1.N.X releases. > I noticed strange things (bugs IMHO): > > /item[@id=''] does not work because xml.php removes all quotes thus > breaking the predicate meaning. > > /item[@id='03-2001'] does not work because xml.php removes all quotes > thus breaking the predicate meaning: left hand expression evaluates to > 03-2001 whereas right hand expression evaluates to -1998... > > Is it easily (self-)fixable? Is it a known issue? Sadly the issue about the "-" isn't related to the quotes. The predicate code looks for operators, and splits when it finds one so it splits this into @id'03 - 2001'. This is a known high priority bug. You are right about the quotes though, version 1.0 does bin them all. Are you using version 1.0 or version 1.N.4? I think this issue was dealt with in one of the 1.N.X versions. Check out http://sourceforge.net/projects/phpxmldb Nigel. -- This message has been sent through the <phpXML/> user discussion list. To unsubscribe, please visit https://sslsites.de/mailinglisten/user/us...@li.../ |