[Xsltforms-support] CDATA in subforms
Brought to you by:
alain-couthures
|
From: Tim T. <tim...@gm...> - 2015-07-05 02:10:54
|
Alain, I am trying to load a subform that contains a <script type="text/turtle"> tag with RDF data serialized as Turtle. This data is enclosed in a CDATA section (per http://www.w3.org/TR/turtle/#h3_xhtml). However, when I load the subform (as XHTML), the CDATA is ignored and all <> characters are escaped, which causes the Turtle parser I am using to break. Shouldn't CDATA contents be ignored when a subform is loaded? As a related question, does XSLTForms support the @cdata-section-elements attribute on <xf:submission>? I see some reference to it in the code, but wasn't sure whether it had been fully implemented. This could be very useful for dealing with non-XML formats in hybrid applications. Many thanks, Tim -- Tim A. Thompson Metadata Librarian (Spanish/Portuguese Specialty) Princeton University Library |