<div dir="ltr"><div>Hello,</div><div><br></div><div>I have a trouble with validating xml document by xsd schema with attribute's type anyURI and value = "alerting.wav". According to RFC 3986 (Uniform Resource Identifier)</div><div>"alerting.wav" is valid value for anyURI type. I've tried on Erlang R16B03,<span style="color:rgb(0,0,0);white-space:pre-wrap"> 17.4.</span></div><div><br></div><div>I attached simple sample, where you can see this problem. To run it, compile xml_test and invoke "test" method.</div><div><br></div><div>I've analyzed xmerl source code, and have found that in xmerl_xsd_type.erl file make validation anyURI type. According source code anyURI must contains SCHEME section, but by RFC 3986</div><div>this section is optional. I've made fix, that validate anyURI type according regular expression from RFC 3986, Appendix B.</div><div><br></div></div>