You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Adam Szita (JIRA)" <ji...@apache.org> on 2017/06/20 11:44:00 UTC
[jira] [Updated] (PIG-5262) Fix jdiff related issues: fail build
upon error, correct xml character escaping
[ https://issues.apache.org/jira/browse/PIG-5262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Szita updated PIG-5262:
----------------------------
Attachment: PIG-5262.0.patch
> 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
> 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)