The following issue has been updated:
Updater: Naresh Sikha (mailto:[EMAIL PROTECTED])
Date: Wed, 28 Jul 2004 6:55 PM
Comment:
patch for unit test data.
Changes:
Attachment changed to cdata-not-text.patch
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/HIVEMIND-28?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/HIVEMIND-28
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HIVEMIND-28
Summary: Framework treats text nodes as CDATA.
Type: Bug
Status: Open
Priority: Major
Project: HiveMind
Components:
framework
Versions:
1.0
Assignee: Howard M. Lewis Ship
Reporter: Naresh Sikha
Created: Tue, 27 Jul 2004 9:07 AM
Updated: Wed, 28 Jul 2004 6:55 PM
Environment: Windows XP, Eclipse 3.0, Sun J2SDK1.4.2_04
Description:
org.apache.hivemind.sdl.SDLDocumentAdaptor:65 creates CDATA nodes while the
test data in framework/src/test-data/TestConstructRegistry is authored as text
nodes for descriptions.
This causes unit test failures in my environment as the generated output is
encapsulated in CDATA tags but the source document is not (string comparison
failure).
I resolved the issue by updating the test data to enclose descriptions in CDATA
sections.
I tried the opposite - updating SDLDocumentAdaptor to create simple Text nodes
instead of CDATA but that broke other areas so I opted for the simpler path.
I'm attaching a patch with my changes.
Thanks.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]