Bug #2804
closedNested Elements Cause the Returned Data to Be Truncated.
0%
Description
Metacat doesn't handle values with nested elements well. Given the following:
<entity>
<property>
<property>
<configure>
If <i>true</i>, then display plot. If <i>false</i>, then don't. (the default)
</configure>
</property>
</property>
</entity>
If I request the value of the "configure" element, I get:
<param name="entity/property/property/configure">, then don't. (the default)</param>
Metacat only gives me the text after the last inner element (the <i> element).
Updated by David Sledge almost 18 years ago
A possible solution is to require Kepler (or whatever the uploading agent is) to use entities to hide the HTML tags. So <i> would be converted to <i> so that metacat will treat them as text, then metacat's XSL can convert them back into tags.
Updated by ben leinfelder over 11 years ago
- Status changed from New to Closed
These are interesting results for mixed content. Really if you want to use XML but not have it treated as such you should CDATA it.