New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set title variable type to item instead of node #3081

Merged
merged 1 commit into from Oct 2, 2018

Conversation

Projects
2 participants
@robander
Member

robander commented Sep 28, 2018

Signed-off-by: Robert D Anderson robander@us.ibm.com

Description

Changes return type for pulled title from node()* to item()*

Motivation and Context

@jelovirt had PDF customizations that had errors with the node()* return type, when the result was actually xs:string. Changing to item()* makes the return type a bit more flexible for cases where only a string is returned.

How Has This Been Tested?

Tested with book maps that use simple topic titles and titles with sub-elements.

Type of Changes

  • Bug fix (non-breaking change which fixes an issue)
Set return type to item instead of node
Signed-off-by: Robert D Anderson <robander@us.ibm.com>

@robander robander added this to In progress in 3.1.3 via automation Sep 28, 2018

3.1.3 automation moved this from In progress to Reviewer approved Oct 2, 2018

@robander robander merged commit 18eaf9a into dita-ot:hotfix/3.1.3 Oct 2, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

3.1.3 automation moved this from Reviewer approved to Done Oct 2, 2018

@robander robander deleted the robander:hotfix/titleNodes branch Oct 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment