diff options
author | Lars Thorsen <[email protected]> | 2012-03-27 10:59:32 +0200 |
---|---|---|
committer | Lars Thorsen <[email protected]> | 2012-03-28 11:05:41 +0200 |
commit | 464e7f0a438fb83c1dabd612a1522ab0b312f148 (patch) | |
tree | 91e4ce7ad41844ff23ea86bcd674ff3f89e6cfef /lib/xmerl/src | |
parent | 6ca158338f81867fc5f9ff55439b4fb8d39445f0 (diff) | |
download | otp-464e7f0a438fb83c1dabd612a1522ab0b312f148.tar.gz otp-464e7f0a438fb83c1dabd612a1522ab0b312f148.tar.bz2 otp-464e7f0a438fb83c1dabd612a1522ab0b312f148.zip |
[xmerl] Fix bug for comments in XSD files
Diffstat (limited to 'lib/xmerl/src')
-rw-r--r-- | lib/xmerl/src/xmerl_xsd.erl | 2 |
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 -> |