'ram'-Namespace problem(/rsm:ExchangedDocument/ram:IncludedNote) InvoiceDescriptor23CIIReader #473
Replies: 14 comments
-
|
Can you share the invoice file and your code? |
Beta Was this translation helpful? Give feedback.
-
|
xrechnung-Test.xml.txt } |
Beta Was this translation helpful? Give feedback.
-
|
I use the in the project: Framework 4.7, but with the version of the core 5, I got the same error |
Beta Was this translation helpful? Give feedback.
-
|
thanks. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
The first link here: |
Beta Was this translation helpful? Give feedback.
-
|
yes, if namespaces "rsm, ram" are mandatory, and in your code they are visible among the names, why are they not in the list of namespace-prefixes? |
Beta Was this translation helpful? Give feedback.
-
|
I received this invoice and cannot load it using the library. What should I do? can you me help, please |
Beta Was this translation helpful? Give feedback.
-
|
i will tolk, that a function 'XmlNamespaceManager nsmgr = _GenerateNamespaceManagerFromNode(doc.DocumentElement);' is false , or the loop foreach (XmlNode node in doc.SelectNodes("//rsm:ExchangedDocument/ram:IncludedNote", nsmgr)) in class "InvoiceDescriptor23CIIReader". |
Beta Was this translation helpful? Give feedback.
-
|
here is a file in which a namespace error occurs: xrechnung-Test.xml.txt |
Beta Was this translation helpful? Give feedback.
-
|
if you add namespaces xmlns:a="urn:un:unece:uncefact:data:standard:QualifiedDataType:100" xmlns:rsm="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100" xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:100" xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100" in <CrossIndustryInvoice ....> , then everything is loaded |
Beta Was this translation helpful? Give feedback.
-
|
How do we handle situations where a system uses its own namespaces? I have an example here that was generated from SAP. when i add the ones provided by @DicomSiarheiVishneuski then the document will be processed. But i don´t want to modify incoming invoices in production ;-) Is the conclusion that the invoice is incorrect and the manufacturer is responsible for issuing it correctly? |
Beta Was this translation helpful? Give feedback.
-
|
n2:IssueDateTime when i use the InvoiceDescriptor invoice = InvoiceDescriptor.Load(pathToXML); function InvoiceDate will be null. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for sending this issue. Can you share an invoice (email address on the readme page)? |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
I have one error with Message: "Namespace prefix 'ram' is not defined." in ExchangedDocument->IncludedNote(/rsm:ExchangedDocument/ram:IncludedNote) area by read.
Beta Was this translation helpful? Give feedback.
All reactions