aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmerl/src/xmerl_xsd.erl
diff options
context:
space:
mode:
authorTuncer Ayaz <[email protected]>2011-08-31 15:15:47 +0200
committerTuncer Ayaz <[email protected]>2011-09-15 00:12:09 +0200
commitd15f145c4b459bb7bf3e31dd66f7cd703d4c4fb8 (patch)
treeac1b3df3e225203963bf4643456ccd3d5658fc4f /lib/xmerl/src/xmerl_xsd.erl
parent90fc4f687a9f28bd856abf30fc14480e130dfc8f (diff)
downloadotp-d15f145c4b459bb7bf3e31dd66f7cd703d4c4fb8.tar.gz
otp-d15f145c4b459bb7bf3e31dd66f7cd703d4c4fb8.tar.bz2
otp-d15f145c4b459bb7bf3e31dd66f7cd703d4c4fb8.zip
Fix misspelling of erroneous in xmerl_xsd
Diffstat (limited to 'lib/xmerl/src/xmerl_xsd.erl')
-rw-r--r--lib/xmerl/src/xmerl_xsd.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/xmerl/src/xmerl_xsd.erl b/lib/xmerl/src/xmerl_xsd.erl
index f003cc74ba..50c0a79016 100644
--- a/lib/xmerl/src/xmerl_xsd.erl
+++ b/lib/xmerl/src/xmerl_xsd.erl
@@ -742,7 +742,7 @@ element_content({IDC,S},El,Env)
{{IDC,IDConstr},S3};
Err ->
S3 = acc_errs(S2,{error_path(El,El#xmlElement.name),?MODULE,
- {erronous_content_in_identity_constraint,IDC,Err}}),
+ {erroneous_content_in_identity_constraint,IDC,Err}}),
{{IDC,[]},S3}
end;
element_content({selector,S},Sel,_Env) ->
@@ -5571,7 +5571,7 @@ format_error({incomplete_file,_FileName,_Other}) ->
"Schema: The file containing a schema state must be produced by xmerl_xsd:state2file/[1,2].";
format_error({unexpected_content_in_any,A}) ->
io_lib:format("Schema: The any type is considered to have no content besides annotation. ~p was found.",[A]);
-format_error({erronous_content_in_identity_constraint,IDC,Err}) ->
+format_error({erroneous_content_in_identity_constraint,IDC,Err}) ->
io_lib:format("Schema: An ~p identity constraint must have one selector and one or more field in content. This case ~p",[IDC,Err]);
format_error({missing_xpath_attribute,IDCContent}) ->
io_lib:format("Schema: A ~p in a identity constraint must have a xpath attribute.",[IDCContent]);