You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Brian Minchau (JIRA)" <xa...@xml.apache.org> on 2005/03/29 18:21:17 UTC

[jira] Updated: (XALANJ-1924) Example on http://xml.apache.org/xalan-j/usagepatterns.html uses depricated method

     [ http://issues.apache.org/jira/browse/XALANJ-1924?page=history ]

Brian Minchau updated XALANJ-1924:
----------------------------------

    Attachment: xdocs.patch2.txt

Attaching xdocs.patch2.txt, a patch to usagepatterns.xml with a fix for 
the the issue that a depricated method is used in an example, but I also
found that there were 6 other typos in the examples on this page. The other
typos were more like missing commas, parenthesis, etc.

I know that these are not complete examples, but when doing a cut/paste of
the code fragments from usagepatterns into Java code, which I then filled in
the details, I found these other typos.


> Example on http://xml.apache.org/xalan-j/usagepatterns.html uses depricated method
> ----------------------------------------------------------------------------------
>
>          Key: XALANJ-1924
>          URL: http://issues.apache.org/jira/browse/XALANJ-1924
>      Project: XalanJ2
>         Type: Bug
>   Components: Documentation
>     Versions: CurrentCVS
>  Environment: Operating System: Other
> Platform: Other
>     Reporter: Brian Minchau
>  Attachments: xdocs.patch2.txt
>
> On http://xml.apache.org/xalan-j/usagepatterns.html there is a sample that 
> calls this:
> org.apache.xalan.templates.OutputProperties.getDefaultMethodProperties("xml")
> which is a depricated method.  The sample should have this:
> org.apache.xml.serializer.OutputPropertiesFactory.getDefaultMethodProperties
> ("xml")

-- 
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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org