[erlang-bugs] xmerl_xsd validation failed on attribute list's type

Anton Ryabkov anton.ryabkov@REDACTED
Tue Nov 25 05:08:23 CET 2014


Hello,

on Erlang R16B03, R17.0 I've found that xmerl_xsd doesn't validate xml,
that contains list's type element attribute. Validation failed with error:
{error,
    [{[],xmerl_xsd,
      {could_not_check_value_for_type,
          {list,[{simpleType,{item,[],[]}}]}}}]}

Steps to reproduce:
1. Untar archive in one directory.
2. compile xsd_list_attr_test.erl
3. xsd_list_attr_test:test().
4. look at erlang console. There will be printed:
Validation result: {error,
                       [{[],xmerl_xsd,
                         {could_not_check_value_for_type,
                             {list,[{simpleType,{item,[],[]}}]}}}]}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20141125/39d8fbed/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xmerl_xsd_list_attribute_validation_bug.tar.gz
Type: application/x-gzip
Size: 729 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20141125/39d8fbed/attachment.bin>


More information about the erlang-bugs mailing list