UNIT6-open / TemplateEngine.Docx

Smart docx template engine for .NET
Other
408 stars 136 forks source link

Add number of hex digits to nsid format #64

Open taxophobia opened 4 years ago

taxophobia commented 4 years ago

Nsid is supposed to be a xs:hexBinary value. DotNets ToString function eats leading zeros by default so this value can end up as _ddddddd instead of 0ddddddd. While ms word doesnt seem to care, it shows up as a validation error in ms openxml productivity tools.