How did you test it?

I always get an error message saying

C:\test\test_element.xml Could not find schema information for the element 'myNewDoc'. An error occurred at file:///C:/test/test_element.xml, (2, 8).

So it validates the one with only text but not the one with another element in it.

Stephan