if (name.startsWith(I_CmsWpConstants.C_VFS_PATH_BODIES)) {
if (!CmsResourceTypePlain.C_RESOURCE_TYPE_NAME.equals(type)) {
return false;
}
try {
<BUG>org.w3c.dom.Document xmlDoc = A_CmsXmlContent.getXmlParser().parse(new java.io.StringReader(new String(content)));
for (Node n = xmlDoc.getFirstChild(); n != null; n = treeWalker(xmlDoc, n)) {
</BUG>
short ntype = n.getNodeType();
if (((ntype > Node.CDATA_SECTION_NODE) && ntype < Node.DOCUMENT_TYPE_NODE) || (ntype == Node.ATTRIBUTE_NODE)) {

if (name.startsWith(I_CmsWpConstants.C_VFS_PATH_BODIES)) {
if (!CmsResourceTypePlain.C_RESOURCE_TYPE_NAME.equals(type)) {
return false;
}
try {
Document xmlDoc = DocumentHelper.parseText(new String(content));
for (Node n = (Node) xmlDoc.content().get(0); n != null; n = treeWalker(xmlDoc, n)) {
short ntype = n.getNodeType();
if (((ntype > Node.CDATA_SECTION_NODE) && ntype < Node.DOCUMENT_TYPE_NODE) || (ntype == Node.ATTRIBUTE_NODE)) {
