An existing seam application that has not had any changes is all of the sudden failing with the following error:
java.lang.RuntimeException: org.dom4j.DocumentException: Error on line 1 of document http://www.jboss.com/ : The markup declarations contained or pointed to by the document type declaration must be well-formed. Nested exception: The markup declarations contained or pointed to by the document type declaration must be well-formed. at org.jboss.seam.navigation.Pages.getDocumentRoot(Pages.java:956) at org.jboss.seam.navigation.Pages.parse(Pages.java:942) at org.jboss.seam.navigation.Pages.createPage(Pages.java:183) at org.jboss.seam.navigation.Pages.getPage(Pages.java:157) at org.jboss.seam.navigation.Pages.createPageStack(Pages.java:241) at org.jboss.seam.navigation.Pages.getPageStack(Pages.java:220) at org.jboss.seam.navigation.Pages.getScheme(Pages.java:553) at org.jboss.seam.navigation.Pages.encodeScheme(Pages.java:451) at org.jboss.seam.ui.util.ViewUrlBuilder.<init>(ViewUrlBuilder.java:27) at org.jboss.seam.ui.component.UISeamCommandBase.getUrl(UISeamCommandBase.java:37) at org.jboss.seam.ui.renderkit.LinkRendererBase.doEncodeBegin(LinkRendererBase.java:26) at org.jboss.seam.ui.util.cdk.RendererBase.encodeBegin(RendererBase.java:79) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:788)
I have seen similar problems posted in this forum where this error occurred when jboss.com was down. However, it appears that JBoss.com is up. I have also tried to update my .page.xml from:
<!DOCTYPE page PUBLIC "-//JBoss/Seam Pages Configuration DTD 1.2//EN" "http://jboss.com/products/seam/pages-1.2.dtd">
<?xml version="1.0" encoding="UTF-8"?> <page xmlns="http://jboss.com/products/seam/pages" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd">
but I still get the same error. Can someone explain what the basic problem is here and what needs to be done to make it go away? Do I need to upgrade seam, change my .pages.xml, or both?
Seam is at version: Seam 2.0.1.GA