// bug 26140/26104
public static void testNoTypeInvalid() throws XmlException
{
XmlObject xdoc = XmlObject.Factory.parse("<test-no-type>something</test-no-type>");
Assert.assertTrue("Untyped document should be invalid", !xdoc.validate());
xdoc = XmlObject.Factory.parse("<x:blah xmlns:x=\"http://no-type.com/\"/>");
Assert.assertTrue("Untyped document should be invalid", !xdoc.validate());
}