Skip to content
Browse files

[xmerl] Fix bug for comments in XSD files

  • Loading branch information...
1 parent 6ca1583 commit 464e7f0a438fb83c1dabd612a1522ab0b312f148 @lthor lthor committed Mar 27, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/xmerl/src/xmerl_xsd.erl
View
2 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 ->

0 comments on commit 464e7f0

Please sign in to comment.
Something went wrong with that request. Please try again.