Project

General

Profile

Actions

Bug #2804

closed

Nested Elements Cause the Returned Data to Be Truncated.

Added by David Sledge almost 16 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
metacat
Target version:
Start date:
03/20/2007
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2804

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).

Actions #1

Updated by David Sledge almost 16 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.

Actions #2

Updated by Redmine Admin almost 10 years ago

Original Bugzilla ID was 2804

Actions #3

Updated by ben leinfelder almost 10 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.

Actions

Also available in: Atom PDF