Reputation: 1385
I checked in several validators this xml:
<root>
<tag>text</tag>even more text
</root>
It is valid. Can somebody please explain what is "even more text" String from example, and maybe refer me to some docs.
Upvotes: 2
Views: 92
Reputation: 943645
It is a piece of character data (just like the other piece of text inside the tag element).
Unless a DTD/Schema/etc says otherwise, any element may contain character data.
Upvotes: 3