dymosoftware / DCD-SDK-Sample

DYMO Connect SDK Samples
Other
60 stars 26 forks source link

OpenLabelXML Print Error #28

Open mbmleone opened 3 years ago

mbmleone commented 3 years ago

We are working on switching to the new SDK to support Dymo Connect. While doing some tests we found a serious issue with calling print() after opening with OpenLabelXml() method. If we use XML of a Dymo Connect label then this error occurs on print() : 'Element' is an invalid XmlNodeType. Line 22, position 4.

This is what we already can provide about the issue:

  1. The issue doesn't occur when using the Dymo Connect label is opened from URL using OpenLabelFile. Only when passing the XML of that file to OpenLabelXml() the error occurs.
  2. This works fine when using XML of Dymo Label Software labels, only with XML of Dymo Connect labels this issue occurs.
  3. Tests have been done with Dymo Connect 1.3.2.18 on Windows 10, so the latest available release of Dymo Connect.
  4. Stack Trace of error can be found here: stacktrace.txt
  5. A sample that shows the issue can be found here: http://jsfiddle.net/aepdzs68/

Can this please be checked and fixed? Or can a workaround be provided? Thanks!

michaelt05 commented 3 years ago

I do facing the same issue. I am looking for solution.

dymosoftware commented 3 years ago

Hi guys, it seems this thread is similar to this closed issue https://github.com/dymosoftware/dymo-connect-framework/issues/10. Please take a look at it.