oga/spec/oga
Yorick Peterse 2ec91f130f Lazy decoding of XML/HTML entities.
Instead of decoding entities in the lexer we'll do this whenever XML::Text#text
is called. This removes the overhead from the parsing phase and ensures the
process is only triggered when actually needed. Note that calling #to_xml and/or
the #inspect methods on a Text (or parent) instance will also trigger the entity
conversion process.

The new entity decoding API supports both regular entities (e.g. &) as well
as codepoint based entities (both regular and hexadecimal codepoints).

To allow safe read-only access to Text instances from multiple threads a mutex
is used. This mutex ensures that only 1 thread can trigger the conversion
process.

Fixes #68
2015-03-05 23:00:43 +01:00
..
css Use describe/it instead of context/example. 2015-01-08 23:01:53 +01:00
html Lazy decoding of XML/HTML entities. 2015-03-05 23:00:43 +01:00
xml Lazy decoding of XML/HTML entities. 2015-03-05 23:00:43 +01:00
xpath Use describe/it instead of context/example. 2015-01-08 23:01:53 +01:00
oga_spec.rb Use describe/it instead of context/example. 2015-01-08 23:01:53 +01:00