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

Fix transformation scripts #621

Closed
wants to merge 2 commits into from

Conversation

Adrian-Devries
Copy link
Contributor

Fix the following warnings:

[main] WARN c.h.x.t.LoggingTransformErrorListener - [warn] Transformation warning (net.sf.saxon.trans.XPathException: A function that computes atomic values should use xsl:sequence rather than xsl:value-of)

Warning at char 27 in xsl:value-of/@select on line 1985 column 166
SXWN9026: Comparison of xs:untypedAtomic? to xs:boolean will fail unless the first operand is empty

Warning at xsl:for-each on line 2083 column 78
SXWN9009: An empty xsl:for-each instruction has no effect

Fix warnings like the following ones:

Warning at char 27 in xsl:value-of/@select on line 1985 column 166 
  SXWN9026: Comparison of xs:untypedAtomic? to xs:boolean will fail unless the first operand is empty

Warning at xsl:for-each on line 2083 column 78 
  SXWN9009: An empty xsl:for-each instruction has no effect
Fix warnings like the following one:

[main] WARN  c.h.x.t.LoggingTransformErrorListener - [warn] Transformation warning (net.sf.saxon.trans.XPathException: A function that computes atomic values should use xsl:sequence rather than xsl:value-of)
@jstaerk
Copy link
Collaborator

jstaerk commented Dec 20, 2024

that should be fixed upstream and the AWV no longer maintains ZUGFeRD 1 :-(

@Adrian-Devries
Copy link
Contributor Author

Only the first commit is related to ZUGFeRD_1p0_c1p0_s1p0.xslt. The second one is related to XR_30.

Please, specify what the upstream is, so that I could address pull requests against it.

@Adrian-Devries
Copy link
Contributor Author

@Adrian-Devries Adrian-Devries mentioned this pull request Jan 4, 2025
@Adrian-Devries Adrian-Devries deleted the fix-xslt branch January 6, 2025 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants