papandreou/node-cldr — pull request #21 by jkrems (2014-10-03 21:05:20+00:00)
Title: Better ends-with implementation, fixes #20

The current XPath expression does not correctly match trailing attribute values. For example this one:

```xml

```

The result is that it (quietly) generates plural functions with empty body for `ro`. Not in scope here - but would it be possible to either fail or generate a function that fails (throws) for unsupported locales?

Based on [this post on stackoverflow](http://stackoverflow.com/a/22437888).