[
https://issues.apache.org/jira/browse/NIFI-4062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16129566#comment-16129566
]
ASF GitHub Bot commented on NIFI-4062:
--------------------------------------
Github user ijokarumawak commented on the issue:
https://github.com/apache/nifi/pull/2093
@arunma Thanks for the updates. I'm going to build it locally once again
just in case.
When you rebase or squash the commits, then you need to push to your branch
forcefully, for example:
```
# To rebase
git checkout master
git pull upstream master
git checkout <branch-for-pr>
git rebase master
# To squash (the HEAD~3 indicates how many recent commits you want to
rebase)
git rebase -i HEAD~3
# After rebase (with latest master, or squash commits), push updated commit
to the existing PR with -f option
git push -f origin <branch-for-pr>
```
By pushing updates to the existing branch, you don't need to close/open new
PR.
> Provide an option to disable DTD validation for EvaluateXPath and
> EvaluateXQuery
> --------------------------------------------------------------------------------
>
> Key: NIFI-4062
> URL: https://issues.apache.org/jira/browse/NIFI-4062
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: 1.0.0
> Reporter: Koji Kawamura
> Assignee: Arun Manivannan
> Labels: beginner
>
> Currently EvaluateXPath and EvaluateXQuery can fail if the source document
> has DOCTYPE definition in it, especially using external DTD. It would be
> useful if these processor provides a property to disable DTD validation when
> evaluate XPath or XQuery.
> References:
> https://community.hortonworks.com/questions/107121/does-evaluatexpath-support-doctype.html
> https://stackoverflow.com/questions/243728/how-to-disable-dtd-at-runtime-in-javas-xpath
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)