You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2014/01/31 02:56:10 UTC

[jira] [Commented] (PIG-3373) XMLLoader returns non-matching nodes when a tag name spans through the block boundary

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

Daniel Dai commented on PIG-3373:
---------------------------------

[~aseldawy], seems the test still pass without your fix. Which version of Pig are you using?

> XMLLoader returns non-matching nodes when a tag name spans through the block boundary
> -------------------------------------------------------------------------------------
>
>                 Key: PIG-3373
>                 URL: https://issues.apache.org/jira/browse/PIG-3373
>             Project: Pig
>          Issue Type: Bug
>          Components: piggybank
>    Affects Versions: site
>            Reporter: Ahmed Eldawy
>            Assignee: Ahmed Eldawy
>              Labels: patch
>         Attachments: PIG3373.patch, PIG3373_1.patch, bad-file.xml.bz2
>
>
> When node start tag spans two blocks this tag is returned even if it is not of the type.
> Example: For the following input file
> <event id="3423">
> <ev
> -------- BLOCK BOUNDARY
> entually id="dfasd">
> XMLoader with tag type 'event' should return only the first one but it actually returns both of them



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)