You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Miguel Montes (JIRA)" <ji...@apache.org> on 2006/11/07 15:34:51 UTC

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

     [ http://issues.apache.org/jira/browse/HARMONY-2085?page=all ]

Miguel Montes updated HARMONY-2085:
-----------------------------------

    Attachment: Element_02.patch

> [classlib][html] Compatibilty. Difference with the RI in the return value of javax.swing.text.html.parser.Element.toString()
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2085
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2085
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Miguel Montes
>            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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira