You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2009/06/25 21:40:07 UTC

[jira] Closed: (HARMONY-2085) [classlib][html] Compatibilty. Difference with the RI in the return value of javax.swing.text.html.parser.Element.toString()

     [ https://issues.apache.org/jira/browse/HARMONY-2085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Hindess closed HARMONY-2085.
---------------------------------


Closing as this works for me.


> [classlib][html] Compatibilty. Difference with the RI in the return value of javax.swing.text.html.parser.Element.toString()
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2085
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2085
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Miguel Montes
>            Assignee: Alexey Petrenko
>            Priority: Minor
>         Attachments: Element_02.patch
>
>
> The method javax.swing.text.html.parser.Element.toString() return value differs from that of the RI.
> ===========Java code ================
> import java.io.IOException;
> import javax.swing.text.html.parser.DTD;
> public class TestElementToString {
>     public static void main(String[] args) throws IOException {
>         DTD dtd = DTD.getDTD("html");
>         System.out.println(dtd.head.toString());
>     }
> }
> ===================================
> $/harmony-hdk-r468731/jdk/jre/bin/java -showversion TestElementToString
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r468731, (Oct 28 2006), Linux/ia32/gcc 3.4.6, release build
> http://incubator.apache.org/harmony
> javax.swing.text.html.parser.Element[index=5,name=HEAD,oStart=false,oEnd=false,inclusions=null,exclusions=null,type=19,content=null,atts=null,data=null]
> $ java -showversion TestElementToString
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
> Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode)
> head
> Attached is a patch solving this issue

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