On 22/10/12 16:08 +0100, mtaylor(a)redhat.com wrote:
From: Martyn Taylor <mtaylor(a)redhat.com>
The strange XPath in the images controller can only have been there
to support this CDATA attribute that has appeared in our API for
wrapping templates.
The CDATA XML attribute is used to specify data with in a document
that is not to be parsed. Is is true that our templates are stored
as XML strings in our template model, however, we do not need nor
want a user to know about this. It is an implementation detail only.
---
src/app/controllers/api/images_controller.rb | 4 +-
src/spec/controllers/api/images_controller_spec.rb | 47 +------------------
2 files changed, 5 insertions(+), 46 deletions(-)
ACK, pushed, BZ updated.
-j