Feature #8197

homogenised XPath implicit conversions to XML

Added by Reynaud Sylvain over 5 years ago. Updated over 5 years ago.

Status:ResolvedStart date:10/08/2014
Priority:HighDue date:
Assigned To:Reynaud Sylvain% Done:

100%

Category:Engine
Target version:2.1.2

Description

Instead of being parsed, $string should be converted to:

<e:entries xmlns:e="http://software.in2p3.fr/lavoisier/entries.xsd">
    <e:entry>$string</e:entry>
</e:entries>

History

#1 Updated by Reynaud Sylvain over 5 years ago

  • Status changed from New to Resolved
  • Assigned To set to Reynaud Sylvain
  • % Done changed from 0 to 100
Implicit conversion of string to XML depends on context:
  • if the string is the result of XPath (@eval): converted to a list with 1 item.
  • if the string is inline (text()): parsed as a XML document.

Also available in: Atom PDF