xmltools icon indicating copy to clipboard operation
xmltools copied to clipboard

Strange validation error

Open kreutho opened this issue 3 years ago • 0 comments
trafficstars

Hi,

I'm using Notepad++ version 8.2.1 with XML Tools 3.1.1.11 and I have the following problem: a generated XML file has to be validated against a public XSD (from the German tax office). It should be ok but I gat a validation error:

'79070220-656b-4dd2-9351-200a42633cac' verstößt gegen pattern-Einschränkung von '.*[^ ]'.
Analyse des Attributes 'UUID' mit dem Wert '79070220-656b-4dd2-9351-200a42633cac' fehlgeschlagen.

(which basicaly means that the UUID can not be validated againt the pattern of '.*[^ ]')

As far as I understand the pattern means that any char except blank could be used (there is another check which validates against the format of 8-4-4-4-12 pattern, which works fine). So I don't understand the error. I checked all included XSD-files and don't find the according rule. I also checked the file in a different notepad++ installation where the plugins haven't been upgraded for a while - it's still using XML Tools 2.4.11. In this version the validation doesn't fail.

So - am I doing something wrong here or is there a bug in the validation? Any help would be appreciated. I uploaded an example here

Thanks and best regards

kreutho avatar Feb 09 '22 16:02 kreutho