[ 
https://issues.apache.org/jira/browse/PIG-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ahmed Eldawy updated PIG-3373:
------------------------------

    Attachment: bad-file.xml.bz2

This is an example of a file that fails. Currently, this file is generated in 
the patch. However, in the future, the way files are compressed might change 
causing this test to be invalid. This sample file is attached for reference.

> 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
>            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)

Reply via email to