You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by hi...@jakarta.apache.org on 2004/07/27 18:08:17 UTC

[jira] Created: (HIVEMIND-28) Framework treats text nodes as CDATA.

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
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: Tue, 27 Jul 2004 9:07 AM
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: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Commented: (HIVEMIND-28) Framework treats text nodes as CDATA.

Posted by hi...@jakarta.apache.org.
The following comment has been added to this issue:

     Author: Naresh Sikha
    Created: Tue, 27 Jul 2004 9:43 AM
       Body:
Attaching a file times out. I guess e-mailing to hivemind-dev will do?
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/HIVEMIND-28?page=comments#action_36892

---------------------------------------------------------------------
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: Tue, 27 Jul 2004 9:43 AM
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: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Commented: (HIVEMIND-28) Framework treats text nodes as CDATA.

Posted by hi...@jakarta.apache.org.
The following comment has been added to this issue:

     Author: James Carman
    Created: Thu, 5 Aug 2004 9:53 PM
       Body:
This should be closed, as SDL has been removed as of beta 3
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/HIVEMIND-28?page=comments#action_37084

---------------------------------------------------------------------
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: Thu, 5 Aug 2004 9:53 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: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Updated: (HIVEMIND-28) Framework treats text nodes as CDATA.

Posted by hi...@jakarta.apache.org.
The following issue has been updated:

    Updater: Naresh Sikha (mailto:naresh.sikha@gmail.com)
       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: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Closed: (HIVEMIND-28) Framework treats text nodes as CDATA.

Posted by hi...@jakarta.apache.org.
Message:

   The following issue has been closed.

---------------------------------------------------------------------
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: Closed
   Priority: Major
 Resolution: WON'T FIX

    Project: HiveMind
 Components: 
             framework
   Versions:
             1.0

   Assignee: Howard M. Lewis Ship
   Reporter: Naresh Sikha

    Created: Tue, 27 Jul 2004 9:07 AM
    Updated: Fri, 6 Aug 2004 4:46 AM
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: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org