liquid-xml not supporting exception for string attributes

172 Views Asked by At

If a string attribute(with t_uniqueIdentifier32) is passed empty value, exception is not thrown from check restrictions. Instead leads to assertion. Using liquid-xml 2017.

1

There are 1 best solutions below

3
On

Looks like this may have been resolved in the latest 2018 version as I get an Exception as expected:

Error - Invalid Value for test [].

When I try to call

elm->SetTest(_T(""));

Where Test is defined in XSD as:

<xs:attribute name="test" type="t_uniqueIdentifier32" use="required" />