Home › Forums › General XMetaL Discussion › Attribute with empty string value › Reply To: Attribute with empty string value
Reply to: Attribute with empty string value
September 25, 2012 at 12:28 amI spoke too soon – I was concentrating on editing and didn't get as far as validating. When I try to validate a document where the attribute value is an empty string I get:
“Empty attribute value. An attribute value literal can only be empty for a CDATA attribute.”
This looks like a bug to me, unless there is something in the XSD specification that says an empty string cannot occur in an enumeration.
BYW, I couldn't agree more that this is bad data design, but unless I can prove that it's invalid there's nothing I can do about it. Please don't suggest I request a schema change, because I've been told that's not an option.