microsoft / microsoft/XmlNotepad

electronic invoice in UBL format takes long time to open (several minutes)

Open
#377 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
1.2k
Forks
240
PR merge metrics
No merged PRs in 30d

Description

Hi Chris,

I'm using version 2.9.0.7 now, installed today. Most invoices are in CII format, but all those in UBL take minutes to open. Of course XML files (especially electronic invoices) are meant to be processed by computers and not by humans, but in this case it is not interpreted correctly, and I have to check why (here, it was an unknown-to-us unit code).

Something similar you already solved in issue #221 in September 2022. And it again starts with http://www.w3.org/2000/09/xmldsig#:Signature-Element being not declared. I'm using this on a Windows Server 2019 with a freshly installed Dotnet 4.8 library, which was a hassle to install (and update).

I'll send you the document on request, as I did then :)

Kind regards,
Werner

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the delay with a UBL invoice containing the unknown unit code and the undeclared http://www.w3.org/2000/09/xmldsig#:Signature element, then compare it with a CII invoice. Review issue #221 for the related prior fix. Done means UBL invoices open promptly and the reported document is interpreted correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.