phpcr / phpcr-utils

A set of helper classes and command line commands you want to use with phpcr, but that are not part of the API itself
phpcr.github.io
Other
72 stars 30 forks source link

deal with ampersand when parsing queries #89

Closed lsmith77 closed 11 years ago

lsmith77 commented 11 years ago

related to https://github.com/phpcr/phpcr-api-tests/pull/119 and https://github.com/jackalope/jackalope-doctrine-dbal/issues/114

dbu commented 11 years ago

thanks. surprising fix, the code looks rather funny. returning a space character is fine in this situation?

lsmith77 commented 11 years ago

yes i think so. basically if there is no matching quote it means we split on a space. but i am only 97% sure :)