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

[2.16.1 cli.jar] CLI Action "ubl" on Zugferd 1 xml fails with "Deklaration des Elements "rsm:CrossIndustryDocument" kann nicht gefunden werden." #699

Open
griesi007 opened this issue Jan 22, 2025 · 0 comments

Comments

@griesi007
Copy link

griesi007 commented Jan 22, 2025

Trying to convert a Zugferd 1 cii xml to ubl fails with error message "Deklaration des Elements "rsm:CrossIndustryDocument" kann nicht gefunden werden." but the element is present. The out file "zugferd.ubl.xml" is not created as mentioned in conversion output.

Validation of the file has status valid.

Conversion Output:

java -Xmx1G -jar mustang-cli.jar  --action ubl --source "zugferd.cii.xml" --out "zugferd.ubl.xml"

Factur-X XML source set to zugferd.cii.xml
UBL target to zugferd.ubl.xml
[main] ERROR com.helger.jaxb.LoggingJAXBReadExceptionHandler - Failed to parse XML document: cvc-elt.1.a: Deklaration des Elements "rsm:CrossIndustryDocument" kann nicht gefunden werden.
Written to zugferd.ubl.xml

Validation Result:

 <xml>
    <info>
      <version>1</version>
      <profile>urn:ferd:CrossIndustryDocument:invoice:1p0:comfort</profile>
      <validator version="2.16.1"/>
      <rules>
        <fired>50</fired>
        <failed>0</failed>
      </rules>
      <duration unit="ms">4850</duration>
    </info>
    <summary status="valid"/>
  </xml>
  <summary status="valid"/>
</validation>

zugferd.cii.xml.txt

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

No branches or pull requests

1 participant