Skip to content
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

Incorrect XPath for BR-Z-08 in CII #246

Closed
rkottmann opened this issue Nov 4, 2020 · 0 comments
Closed

Incorrect XPath for BR-Z-08 in CII #246

rkottmann opened this issue Nov 4, 2020 · 0 comments
Milestone

Comments

@rkottmann
Copy link
Contributor

One of our users reports a side effect BR-Z-08 using the Raptor Engine instead of Saxon the of itplr-kosit/validator-configuration-xrechnung#39

I assume that (but did not check) that

 /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator=true() and ram:CategoryTradeTax/ram:CategoryCode='Z']/ram:ActualAmount

might be changed to (just scribbling)

 /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge[ cast as xs:boolean ram:ChargeIndicator/udt:Indicator  =true() and ram:CategoryTradeTax/ram:CategoryCode='Z']/ram:ActualAmount

or something like that.

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

No branches or pull requests

3 participants