incubator-any23-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michele Mostarda (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ANY23-33) Replace proprietary SUN imports from Any23 classes.
Date Sat, 14 Jan 2012 15:57:39 GMT

    [ https://issues.apache.org/jira/browse/ANY23-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13186246#comment-13186246
] 

Michele Mostarda commented on ANY23-33:
---------------------------------------

I attempted to replace the classes with public implementations, but the once found 
within the classpath are marked as @deprecated.

Ideas?

{code}
-import com.sun.org.apache.xml.internal.serialize.OutputFormat;
-import com.sun.org.apache.xml.internal.serialize.XMLSerializer;
+import org.apache.xml.serialize.OutputFormat;
+import org.apache.xml.serialize.XMLSerializer;
{code}
                
> Replace proprietary SUN imports from Any23 classes.
> ---------------------------------------------------
>
>                 Key: ANY23-33
>                 URL: https://issues.apache.org/jira/browse/ANY23-33
>             Project: Apache Any23
>          Issue Type: Improvement
>            Reporter: Lewis John McGibbney
>
> When building Any23 trunk you will notice some obvious warnings, for clarity I have attached
them below. We should find replacements for these imports, preferably ASF implementations.

> {code}
> [INFO] [WARNING] /home/jenkins/jenkins-slave/workspace/Any23-trunk/core/src/test/java/org/deri/any23/validator/DefaultValidatorTest.java:[20,48]
com.sun.org.apache.xml.internal.serialize.OutputFormat is Sun proprietary API and may be removed
in a future release
> [WARNING] /home/jenkins/jenkins-slave/workspace/Any23-trunk/core/src/test/java/org/deri/any23/validator/DefaultValidatorTest.java:[21,48]
com.sun.org.apache.xml.internal.serialize.XMLSerializer is Sun proprietary API and may be
removed in a future release
> [WARNING] /home/jenkins/jenkins-slave/workspace/Any23-trunk/core/src/test/java/org/deri/any23/validator/DefaultValidatorTest.java:[114,8]
com.sun.org.apache.xml.internal.serialize.OutputFormat is Sun proprietary API and may be removed
in a future release
> [WARNING] /home/jenkins/jenkins-slave/workspace/Any23-trunk/core/src/test/java/org/deri/any23/validator/DefaultValidatorTest.java:[114,34]
com.sun.org.apache.xml.internal.serialize.OutputFormat is Sun proprietary API and may be removed
in a future release
> [WARNING] /home/jenkins/jenkins-slave/workspace/Any23-trunk/core/src/test/java/org/deri/any23/validator/DefaultValidatorTest.java:[120,8]
com.sun.org.apache.xml.internal.serialize.XMLSerializer is Sun proprietary API and may be
removed in a future release
> [WARNING] /home/jenkins/jenkins-slave/workspace/Any23-trunk/core/src/test/java/org/deri/any23/validator/DefaultValidatorTest.java:[120,39]
com.sun.org.apache.xml.internal.serialize.XMLSerializer is Sun proprietary API and may be
removed in a future release
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message