camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (Commented) (JIRA)" <>
Subject [jira] [Commented] (CAMEL-3999) stax and sax to parse a xml document
Date Fri, 04 Nov 2011 10:31:01 GMT


Claus Ibsen commented on CAMEL-3999:

I would suggest use the package name org.apache.camel.component.stax and have all the logic
in there. This is how the other components is.
Also at Apache we discourage having @author tags in the source, so they should be removed
in the patch.
Also consider if you have sufficient unit tests. Also for inputs that are not a file etc.
And if there is an empty XML document, etc.
> stax and sax to parse a xml document
> ------------------------------------
>                 Key: CAMEL-3999
>                 URL:
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-spring
>            Reporter: Romain Manni-Bucau
>            Priority: Minor
>         Attachments: CAMEL-3999-camel-stax.patch
> to parse a xml document without loading it can be useful.
> i had a try here
to be able to use a sax content handler to parse a document using the stax xml stream reader.
In this component the sax content handler is used as an api but the functionnality is the
streaming using stax.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message