I'm parsing some XML files where some elements have inner CDATA text (and must contain a non-null amount of non-whitespace) that contains newlines that are important to retain. I was attempting to write an XSD to validate this, but my initial attempt of .* as the restriction failed because, at least in the Python xmlschema library I was using, a "." does not match newlines.