clovett / tools

A set of handy tools, mostly built in C#, some are C++
19 stars 4 forks source link

problems with EXE #15

Closed Pierre-de-la-Verre closed 1 year ago

Pierre-de-la-Verre commented 1 year ago

for xmlint.exe

I just tried the new xmlint.EXE, and only the -w parameter works as expected. What I'm doing wrong?

here are the line from my CMD (Windows 10):


D:\Program Files\XmlTools>"d:\Program Files\XmlTools\xmlint.exe" -f d:\xxx\csv\x.xml
d:\xxx\csv\x.xml, failed
  ### Exception:Der Wert darf nicht NULL sein.
Parametername: name

D:\Program Files\XmlTools>"d:\Program Files\XmlTools\xmlint.exe" -w d:\xxx\csv\x.xml
d:\xxx\csv\x.xml, ok

D:\Program Files\XmlTools>"d:\Program Files\XmlTools\xmlint.exe" -e utf-8 d:\xxx\csv\ansi.xml
d:\xxx\csv\ansi.xml, failed
  ### Exception:Der Wert darf nicht NULL sein.
Parametername: name

D:\Program Files\XmlTools>"d:\Program Files\XmlTools\xmlint.exe" -w  d:\xxx\csv\ansi.xml
d:\xxx\csv\ansi.xml, ok

D:\Program Files\XmlTools>"d:\Program Files\XmlTools\xmlint.exe" -nobom  d:\xxx\csv\ansi.xml
d:\xxx\csv\ansi.xml, failed
  ### Exception:Der Wert darf nicht NULL sein.
Parametername: name

D:\Program Files\XmlTools>"d:\Program Files\XmlTools\xmlint.exe" -w -nobom  "d:\xxx\csv\ansi.xml"
d:\xxx\csv\ansi.xml, ok

D:\Program Files\XmlTools>"d:\Program Files\XmlTools\xmlint.exe" -w -e utf-8 d:\xxx\csv\ansi.xml
d:\xxx\csv\ansi.xml, ok
lovettchris commented 1 year ago

Ah, the Parametername bug is fixed in this new version https://github.com/clovett/tools/releases/tag/v1.01

Pierre-de-la-Verre commented 1 year ago

Thanks, Chris, works fine now.