oga/spec
Yorick Peterse 9b8e9f49c6 Support for lexing empty attribute values.
This ensures that Oga can lex the following properly:

    <input value="" />

Previously Ragel would stop upon finding the empty string. This was caused due
to the string rules being declared as following:

    string_dquote = (dquote ^dquote+ dquote);
    string_squote = (squote ^squote+ squote);

These rules only match strings _with_ content, not without. Since Ragel stops
consuming input the moment it finds unhandled data this resulted in incorrect
tokens being emitted.
2014-09-03 23:10:50 +02:00
..
oga Support for lexing empty attribute values. 2014-09-03 23:10:50 +02:00
support Support for the XPath child axis. 2014-07-22 21:25:02 +02:00
spec_helper.rb Cleaned up XPath specs using a shared example. 2014-07-15 09:34:11 +02:00