Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OM fails to escape already escaped single quote #11

Open
jcoyne opened this issue Jan 7, 2013 · 0 comments
Open

OM fails to escape already escaped single quote #11

jcoyne opened this issue Jan 7, 2013 · 0 comments

Comments

@jcoyne
Copy link
Contributor

jcoyne commented Jan 7, 2013

formerly HYDRA-824

properties_ds.bio= ["Women's"]

 SyntaxError:
   (eval):1: syntax error, unexpected tIDENTIFIER, expecting ')'
   xml.bio( 'Women\\'s' )
                      ^
   (eval):1: unterminated string meets end of file
 # /Users/justin/.rvm/gems/ruby-1.9.3-p194@active_fedora_4.0/gems/om-1.6.0/lib/om/xml/term_value_operators.rb:146:in `eval'
 # /Users/justin/.rvm/gems/ruby-1.9.3-p194@active_fedora_4.0/gems/om-1.6.0/lib/om/xml/term_value_operators.rb:146:in `block (2 levels) in insert_from_template'
 # /Users/justin/.rvm/gems/ruby-1.9.3-p194@active_fedora_4.0/gems/om-1.6.0/lib/om/xml/term_value_operators.rb:140:in `each'
 # /Users/justin/.rvm/gems/ruby-1.9.3-p194@active_fedora_4.0/gems/om-1.6.0/lib/om/xml/term_value_operators.rb:140:in `block in insert_from_template'
 # /Users/justin/.rvm/gems/ruby-1.9.3-p194@active_fedora_4.0/gems/nokogiri-1.5.3/lib/nokogiri/xml/builder.rb:293:in `initialize'
 # /Users/justin/.rvm/gems/ruby-1.9.3-p194@active_fedora_4.0/gems/nokogiri-1.5.3/lib/nokogiri/xml/builder.rb:254:in `new'
 # /Users/justin/.rvm/gems/ruby-1.9.3-p194@active_fedora_4.0/gems/nokogiri-1.5.3/lib/nokogiri/xml/builder.rb:254:in `with'
 # /Users/justin/.rvm/gems/ruby-1.9.3-p194@active_fedora_4.0/gems/om-1.6.0/lib/om/xml/term_value_operators.rb:139:in `insert_from_template'
 # /Users/justin/.rvm/gems/ruby-1.9.3-p194@active_fedora_4.0/gems/om-1.6.0/lib/om/xml/term_value_operators.rb:113:in `term_values_append'
 # /Users/justin/.rvm/gems/ruby-1.9.3-p194@active_fedora_4.0/gems/om-1.6.0/lib/om/xml/dynamic_node.rb:77:in `block in val='
 # /Users/justin/.rvm/gems/ruby-1.9.3-p194@active_fedora_4.0/gems/om-1.6.0/lib/om/xml/dynamic_node.rb:72:in `each'
 # /Users/justin/.rvm/gems/ruby-1.9.3-p194@active_fedora_4.0/gems/om-1.6.0/lib/om/xml/dynamic_node.rb:72:in `val='
 # /Users/justin/.rvm/gems/ruby-1.9.3-p194@active_fedora_4.0/gems/om-1.6.0/lib/om/xml/document.rb:54:in `method_missing'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant