pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Szita (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-5262) Fix jdiff related issues: fail build upon error, correct xml character escaping
Date Wed, 21 Jun 2017 10:21:01 GMT

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

Adam Szita commented on PIG-5262:
---------------------------------

Committed to branch-0.17 and trunk. Thanks for review Nandor and Rohini

> Fix jdiff related issues: fail build upon error, correct xml character escaping
> -------------------------------------------------------------------------------
>
>                 Key: PIG-5262
>                 URL: https://issues.apache.org/jira/browse/PIG-5262
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Adam Szita
>            Assignee: Adam Szita
>             Fix For: 0.17.1, trunk
>
>         Attachments: PIG-5262.0.patch
>
>
> For some Scala classes jdiff produces returntype="<any>". Then it fails parsing
the XML because of the < and > characters. Need to fix this, and also fail the build
if such thing happens, rather than having it continue and end as "BUILD SUCCESSFUL":
> {code} 
> [javadoc] JDiff: reading the new API in from file '/Users/szita/shadow/apache/pig/17RC/src/docs/jdiff/pig_0.17.0-SNAPSHOT.xml'...Fatal
Error (30267): parsing XML API file:org.xml.sax.SAXParseException; systemId: file:///Users/szita/shadow/apache/pig/17RC/src/docs/jdiff/pig_0.17.0-SNAPSHOT.xml;
lineNumber: 30267; columnNumber: 40; The value of attribute "return" associated with an element
type "method" must not contain the '<' character.
> BUILD SUCCESSFUL
> Total time: 43 seconds
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message