diff options
author | Tobias Schlager <[email protected]> | 2015-08-11 16:33:26 +0200 |
---|---|---|
committer | Tobias Schlager <[email protected]> | 2015-08-11 16:33:26 +0200 |
commit | 22f4e79f312b88d81f00c414230076bbc68769af (patch) | |
tree | 3e09c7f65bbda8f0cac38c20cdebef5aba4c49b7 /lib/kernel/src/inet_tcp_dist.erl | |
parent | 98647fcc1632f60871adee20031e294e5d5b6eb0 (diff) | |
download | otp-22f4e79f312b88d81f00c414230076bbc68769af.tar.gz otp-22f4e79f312b88d81f00c414230076bbc68769af.tar.bz2 otp-22f4e79f312b88d81f00c414230076bbc68769af.zip |
Remove built-in definition of xml.xsd from xmerl
Removes the built-in definitions of http://www.w3.org/2001/xml.xsd from
the xmerl_xsd module. xmerl_xsd does load the definitions of the above
schema into its processing table during initialization. This leads to
the inability to process XSD schemas that properly import xml.xsd (as
suggested in xml.xsd itself).
Furthermore, the definitions are loaded from a binary containing the
corresponding terms in Erlang external term format. Since this is not
refactoring safe the intended functionality already broke long ago
(prior to github import) because some of the record definitions did
change in releases older than R13B03.
To sum up, the current code does not do anything useful because the
built-in definitions from the binary can't be used due to incompatible
records. Thus, this fix is not backwards incompatible. The change also
adds two new test cases covering common use-cases when using 'xml:'
types in custom schemas.
Diffstat (limited to 'lib/kernel/src/inet_tcp_dist.erl')
0 files changed, 0 insertions, 0 deletions