You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "mariakatosvich (JIRA)" <ji...@apache.org> on 2016/09/07 09:16:20 UTC

[jira] [Commented] (CLI-147) Create page explaining which parser to use when

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

mariakatosvich commented on CLI-147:
------------------------------------

After you have downloaded and installed the sources of the JAXP API from the JAXP download area, the sample program for this example is found in the directory install-dir/jaxp-1_4_2-release-date/samples/sax. The XML files it interacts with are found in install-dir/jaxp-1_4_2-release-date/samples/data.

The SAXLocalNameCount program is created in a file named SAXLocalNameCount.java.

public class SAXLocalNameCount {
    static public void main(String[] args) {
        // ...
    }
}

Because you will run it standalone, you need a main() method. And you need command-line arguments so that you can tell the application which file to process.
Thanks
http://qwikfix.co.uk/dvla-contact/

> Create page explaining which parser to use when
> -----------------------------------------------
>
>                 Key: CLI-147
>                 URL: https://issues.apache.org/jira/browse/CLI-147
>             Project: Commons CLI
>          Issue Type: Task
>          Components: Documentation
>    Affects Versions: 1.1
>            Reporter: Henri Yandell
>
> Basically a short summary of what each parser does.
> Also put each relevant bit in the javadoc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)