aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2012-03-28 11:05:55 +0200
committerLars Thorsen <[email protected]>2012-03-28 11:05:55 +0200
commit40db677901d8b229773e45175bf55ebde66a7734 (patch)
tree91e4ce7ad41844ff23ea86bcd674ff3f89e6cfef
parent6ca158338f81867fc5f9ff55439b4fb8d39445f0 (diff)
parent464e7f0a438fb83c1dabd612a1522ab0b312f148 (diff)
downloadotp-40db677901d8b229773e45175bf55ebde66a7734.tar.gz
otp-40db677901d8b229773e45175bf55ebde66a7734.tar.bz2
otp-40db677901d8b229773e45175bf55ebde66a7734.zip
Merge branch 'lars/xmerl/xsd-comment-bug/OTP-10023' into maint
* lars/xmerl/xsd-comment-bug/OTP-10023: [xmerl] Fix bug for comments in XSD files
-rw-r--r--lib/xmerl/src/xmerl_xsd.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/xmerl/src/xmerl_xsd.erl b/lib/xmerl/src/xmerl_xsd.erl
index ed0890f0d0..f0d9acb976 100644
--- a/lib/xmerl/src/xmerl_xsd.erl
+++ b/lib/xmerl/src/xmerl_xsd.erl
@@ -2338,6 +2338,8 @@ complexity([]) ->
undefined;
complexity([#xmlText{}|T]) ->
complexity(T);
+complexity([#xmlComment{}|T]) ->
+ complexity(T);
complexity([H|T]) ->
case kind(H) of
simpleContent ->