xmerl_xsd validation failed on attribute list's type

Anton Ryabkov <[email protected]>
Newsgroups gmane.comp.lang.erlang.bugs
Message-ID <CAH_Ks=TAShRdwfAR7H73HPHVv_5i8D6v3dQ=J7oLC__2-XLE0Q@mail.gmail.com>
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,[],[]}}]}}}]}

_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs
xmerl_xsd_list_attribute_validation_bug.tar.gz (application/x-gzip, 729 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.