You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrey Pavlenko (JIRA)" <ji...@apache.org> on 2007/08/09 19:23:42 UTC

[jira] Created: (HARMONY-4615) [classlib][swing] HTML tags inside tag
 are handled incorrectly

[classlib][swing] HTML tags inside tag <pre> are handled incorrectly
--------------------------------------------------------------------

                 Key: HARMONY-4615
                 URL: https://issues.apache.org/jira/browse/HARMONY-4615
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Andrey Pavlenko


The following test demonstrates the issue.

    public void test() {
        final JFrame frame = new JFrame();

        frame.add(new JEditorPane("text/html", "<pre>line1\nline2\n"
                + "<font color='red'>line3\nline4</font></pre>"));
        frame.pack();
        frame.setVisible(true);
    }

The text inside <pre> should be split in 4 lines.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-4615) [classlib][swing] HTML tags inside tag
 are handled incorrectly

Posted by "Andrey Pavlenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Pavlenko updated HARMONY-4615:
-------------------------------------

    Attachment: HARMONY-4615-Lexer.patch

This patch fixes the issue.
Note: HARMONY-4582 should be fixed first. 
Could somebody apply the patches attached to HARMONY-4582? After that I'll be able to create a patch for the regression test.

> [classlib][swing] HTML tags inside tag <pre> are handled incorrectly
> --------------------------------------------------------------------
>
>                 Key: HARMONY-4615
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4615
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Andrey Pavlenko
>         Attachments: HARMONY-4615-Lexer.patch
>
>
> The following test demonstrates the issue.
>     public void test() {
>         final JFrame frame = new JFrame();
>         frame.add(new JEditorPane("text/html", "<pre>line1\nline2\n"
>                 + "<font color='red'>line3\nline4</font></pre>"));
>         frame.pack();
>         frame.setVisible(true);
>     }
> The text inside <pre> should be split in 4 lines.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-4615) [classlib][swing] HTML tags inside tag
 are handled incorrectly

Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519595 ] 

Alexey Petrenko commented on HARMONY-4615:
------------------------------------------

The regression test does not fail without a patch.

> [classlib][swing] HTML tags inside tag <pre> are handled incorrectly
> --------------------------------------------------------------------
>
>                 Key: HARMONY-4615
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4615
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Andrey Pavlenko
>            Assignee: Alexey Petrenko
>         Attachments: HARMONY-4615-HTMLDocument_Reader_ActionsTest.patch, HARMONY-4615-Lexer.patch
>
>
> The following test demonstrates the issue.
>     public void test() {
>         final JFrame frame = new JFrame();
>         frame.add(new JEditorPane("text/html", "<pre>line1\nline2\n"
>                 + "<font color='red'>line3\nline4</font></pre>"));
>         frame.pack();
>         frame.setVisible(true);
>     }
> The text inside <pre> should be split in 4 lines.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HARMONY-4615) [classlib][swing] HTML tags inside tag
 are handled incorrectly

Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Petrenko reassigned HARMONY-4615:
----------------------------------------

    Assignee: Alexey Petrenko

> [classlib][swing] HTML tags inside tag <pre> are handled incorrectly
> --------------------------------------------------------------------
>
>                 Key: HARMONY-4615
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4615
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Andrey Pavlenko
>            Assignee: Alexey Petrenko
>         Attachments: HARMONY-4615-Lexer.patch
>
>
> The following test demonstrates the issue.
>     public void test() {
>         final JFrame frame = new JFrame();
>         frame.add(new JEditorPane("text/html", "<pre>line1\nline2\n"
>                 + "<font color='red'>line3\nline4</font></pre>"));
>         frame.pack();
>         frame.setVisible(true);
>     }
> The text inside <pre> should be split in 4 lines.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-4615) [classlib][swing] HTML tags inside tag
 are handled incorrectly

Posted by "Andrey Pavlenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Pavlenko updated HARMONY-4615:
-------------------------------------

    Attachment: HARMONY-4615-HTMLDocument_Reader_ActionsTest.patch

Some issues were fixed in HARMONY-4582. I've updated the patch.

> [classlib][swing] HTML tags inside tag <pre> are handled incorrectly
> --------------------------------------------------------------------
>
>                 Key: HARMONY-4615
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4615
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Andrey Pavlenko
>            Assignee: Alexey Petrenko
>         Attachments: HARMONY-4615-HTMLDocument_Reader_ActionsTest.patch, HARMONY-4615-Lexer.patch
>
>
> The following test demonstrates the issue.
>     public void test() {
>         final JFrame frame = new JFrame();
>         frame.add(new JEditorPane("text/html", "<pre>line1\nline2\n"
>                 + "<font color='red'>line3\nline4</font></pre>"));
>         frame.pack();
>         frame.setVisible(true);
>     }
> The text inside <pre> should be split in 4 lines.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-4615) [classlib][swing] HTML tags inside tag
 are handled incorrectly

Posted by "Andrey Pavlenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Pavlenko updated HARMONY-4615:
-------------------------------------

    Attachment:     (was: HARMONY-4615-HTMLDocument_Reader_ActionsTest.patch)

> [classlib][swing] HTML tags inside tag <pre> are handled incorrectly
> --------------------------------------------------------------------
>
>                 Key: HARMONY-4615
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4615
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Andrey Pavlenko
>            Assignee: Alexey Petrenko
>         Attachments: HARMONY-4615-Lexer.patch
>
>
> The following test demonstrates the issue.
>     public void test() {
>         final JFrame frame = new JFrame();
>         frame.add(new JEditorPane("text/html", "<pre>line1\nline2\n"
>                 + "<font color='red'>line3\nline4</font></pre>"));
>         frame.pack();
>         frame.setVisible(true);
>     }
> The text inside <pre> should be split in 4 lines.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HARMONY-4615) [classlib][swing] HTML tags inside tag
 are handled incorrectly

Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Petrenko resolved HARMONY-4615.
--------------------------------------

    Resolution: Fixed

The patch has been applied.
Please verify.

> [classlib][swing] HTML tags inside tag <pre> are handled incorrectly
> --------------------------------------------------------------------
>
>                 Key: HARMONY-4615
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4615
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Andrey Pavlenko
>            Assignee: Alexey Petrenko
>         Attachments: HARMONY-4615-HTMLDocument_Reader_ActionsTest.patch, HARMONY-4615-Lexer.patch
>
>
> The following test demonstrates the issue.
>     public void test() {
>         final JFrame frame = new JFrame();
>         frame.add(new JEditorPane("text/html", "<pre>line1\nline2\n"
>                 + "<font color='red'>line3\nline4</font></pre>"));
>         frame.pack();
>         frame.setVisible(true);
>     }
> The text inside <pre> should be split in 4 lines.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-4615) [classlib][swing] HTML tags inside tag
 are handled incorrectly

Posted by "Andrey Pavlenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Pavlenko updated HARMONY-4615:
-------------------------------------

    Attachment: HARMONY-4615-HTMLDocument_Reader_ActionsTest.patch

Patch for the regression test is attached.

> [classlib][swing] HTML tags inside tag <pre> are handled incorrectly
> --------------------------------------------------------------------
>
>                 Key: HARMONY-4615
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4615
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Andrey Pavlenko
>            Assignee: Alexey Petrenko
>         Attachments: HARMONY-4615-HTMLDocument_Reader_ActionsTest.patch, HARMONY-4615-Lexer.patch
>
>
> The following test demonstrates the issue.
>     public void test() {
>         final JFrame frame = new JFrame();
>         frame.add(new JEditorPane("text/html", "<pre>line1\nline2\n"
>                 + "<font color='red'>line3\nline4</font></pre>"));
>         frame.pack();
>         frame.setVisible(true);
>     }
> The text inside <pre> should be split in 4 lines.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-4615) [classlib][swing] HTML tags inside tag
 are handled incorrectly

Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12518960 ] 

Alexey Petrenko commented on HARMONY-4615:
------------------------------------------

Andrey, I'll aply the patch for HARMONY-4582 later today.

> [classlib][swing] HTML tags inside tag <pre> are handled incorrectly
> --------------------------------------------------------------------
>
>                 Key: HARMONY-4615
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4615
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Andrey Pavlenko
>            Assignee: Alexey Petrenko
>         Attachments: HARMONY-4615-Lexer.patch
>
>
> The following test demonstrates the issue.
>     public void test() {
>         final JFrame frame = new JFrame();
>         frame.add(new JEditorPane("text/html", "<pre>line1\nline2\n"
>                 + "<font color='red'>line3\nline4</font></pre>"));
>         frame.pack();
>         frame.setVisible(true);
>     }
> The text inside <pre> should be split in 4 lines.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.