Foros de discusión

The markup in the document following the root element must be well formed

Michele Giacobazzi, modificado hace 12 años.

The markup in the document following the root element must be well formed

Junior Member Mensajes: 40 Fecha de incorporación: 9/09/11 Mensajes recientes
When editing content in the web content display, i often get this arror and I'm not allowed to save.

Can anyone help me?

Caused by: org.dom4j.DocumentException: Error on line 3 of document : The markup in the document following the root element must be well-formed. Nest
ed exception: The markup in the document following the root element must be well-formed.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.dom4j.io.SAXReader.read(SAXReader.java:365)
at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:369)

I'm using 6.0.6
thumbnail
Sandeep Nair, modificado hace 12 años.

RE: The markup in the document following the root element must be well form

Liferay Legend Mensajes: 1744 Fecha de incorporación: 6/11/08 Mensajes recientes
Is it with a specific type of content only or it happens with every content. If its related to specific content can you paste the content here(html source that is). Which version of Liferay are you using?

Regards,
Sandeep
thumbnail
Mayur Patel, modificado hace 12 años.

RE: The markup in the document following the root element must be well form

Expert Mensajes: 358 Fecha de incorporación: 17/11/10 Mensajes recientes
As sandeep said it may be the problem of content which you've used in web content,

Can you tell me that web content which you're editing, is it also mapped with structure and displaying through template if yes then It would be the case that template cant able to read element of structure fields(Improper Data)

Thanks
Michele Giacobazzi, modificado hace 12 años.

RE: The markup in the document following the root element must be well form

Junior Member Mensajes: 40 Fecha de incorporación: 9/09/11 Mensajes recientes
I was simply inserting text ina simple Web Content Display and trying to use the localized options (with mixed result).
I'm using Liferay 6.0.6. I'll post the source code next time this happens.
Michele Giacobazzi, modificado hace 12 años.

RE: The markup in the document following the root element must be well form

Junior Member Mensajes: 40 Fecha de incorporación: 9/09/11 Mensajes recientes
New error:


17:44:15,245 ERROR [LocaleTransformerListener:101]
com.liferay.portal.kernel.xml.DocumentException: Error on line 2 of document  : The entity "ugrave" was referenced, but not declared. Nested exception
: The entity "ugrave" was referenced, but not declared.
[......]
Caused by: org.dom4j.DocumentException: Error on line 2 of document  : The entity "ugrave" was referenced, but not declared. Nested exception: The ent
ity "ugrave" was referenced, but not declared.
        at org.dom4j.io.SAXReader.read(SAXReader.java:482)
        at org.dom4j.io.SAXReader.read(SAXReader.java:365)
        at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:369)
        ... 253 more

HTML Source:


<p>
	Il Portale EnelDrive racchiude più infrastrutture di ricarica, di diversi Fornitori che utilizzano il sistema EnelDrive.</p>
<p>
	Questa pagina introduce il progetto e contiene link alle sottosezioni.</p>
<p>
	Le portet a Sinistra potrebbero essere generali per questa sezione e ripetute.&nbsp;</p>
<p>
	&nbsp;</p>
<p>
	<img alt="" src="/image/image_gallery?uuid=bec44027-6698-426a-8ecc-e4e42fee74b6&amp;groupId=10157&amp;t=1328637473978" style="width: 500px; height: 333px; "></p>
<p>
	&nbsp;</p>
<p style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 24px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; vertical-align: baseline; color: rgb(51, 51, 51); font-family: Georgia, 'Bitstream Charter', serif; font-size: 16px; line-height: 24px; ">
	In questa sezione puoi:</p>
<ul>
	<li>
		scoprire i <a href="./perche-un-veicolo-elettrico">vantaggi di un veicolo elettrico</a>: per l'ambiente, per la città, per le tue tasche</li>
	<li>
		scoprire&nbsp;<a href="./perche-un-veicolo-elettrico">il sistema EnelDrive</a>: come vengono gestite le colonnine?&nbsp;</li>
	<li>
		visualizzare <a href="./perche-un-veicolo-elettrico">l'infrastruttura di ricarica</a>: quante e quali sono le colonnine? In quali città si trovano? Quali e quanti sono i gestori?</li>
	<li>
		scoprire i <a href="./perche-un-veicolo-elettrico">servizi per i service provider:</a> cosa offre il sistema EnelDrive ai fornitori di servizio?</li>
	<li>
		scoprire i nostri <a href="./perche-un-veicolo-elettrico">piani per il futuro</a>: come evolverà il sitema nei prossimi anni?</li>
</ul>
<p>
	&nbsp;</p>
<p>
	Buona navigazione con EnelDrive.</p>
Michele Giacobazzi, modificado hace 12 años.

RE: The markup in the document following the root element must be well form

Junior Member Mensajes: 40 Fecha de incorporación: 9/09/11 Mensajes recientes
And Here it is again!


Caused by: org.dom4j.DocumentException: Error on line 3 of document  : The markup in the document following the root element must be well-formed. Nest
ed exception: The markup in the document following the root element must be well-formed.
        at org.dom4j.io.SAXReader.read(SAXReader.java:482)
        at org.dom4j.io.SAXReader.read(SAXReader.java:365)
        at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:369)


The source is almost the same, I removed the &ugrave;


<p>
	Il Portale EnelDrive racchiude piu infrastrutture di ricarica, di diversi Fornitori che utilizzano il sistema EnelDrive.</p>
<p>
	Questa pagina introduce il progetto e contiene link alle sottosezioni.</p>
<p>
	Le portet a Sinistra potrebbero essere generali per questa sezione e ripetute.&nbsp;</p>
<p>
	&nbsp;</p>
<p>
	<img alt="" src="/image/image_gallery?uuid=bec44027-6698-426a-8ecc-e4e42fee74b6&amp;groupId=10157&amp;t=1328637473978" style="width: 500px; height: 333px; "></p>
<p>
	&nbsp;</p>
<p style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 24px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; vertical-align: baseline; color: rgb(51, 51, 51); font-family: Georgia, 'Bitstream Charter', serif; font-size: 16px; line-height: 24px; ">
	In questa sezione puoi:</p>
<ul>
	<li>
		scoprire i <a href="./perche-un-veicolo-elettrico">vantaggi di un veicolo elettrico</a>: per l'ambiente, per la città, per le tue tasche</li>
	<li>
		scoprire&nbsp;<a href="./perche-un-veicolo-elettrico">il sistema EnelDrive</a>: come vengono gestite le colonnine?&nbsp;</li>
	<li>
		visualizzare <a href="./perche-un-veicolo-elettrico">l'infrastruttura di ricarica</a>: quante e quali sono le colonnine? In quali città si trovano? Quali e quanti sono i gestori?</li>
	<li>
		scoprire i <a href="./perche-un-veicolo-elettrico">servizi per i service provider:</a> cosa offre il sistema EnelDrive ai fornitori di servizio?</li>
	<li>
		scoprire i nostri <a href="./perche-un-veicolo-elettrico">piani per il futuro</a>: come evolverà il sitema nei prossimi anni?</li>
</ul>
<p>
	&nbsp;</p>
<p>
	Buona navigazione con EnelDrive.</p>




No idea on how to save my changes to the web content..
Fredrik Boström, modificado hace 11 años.

RE: The markup in the document following the root element must be well form

New Member Mensajes: 2 Fecha de incorporación: 6/11/12 Mensajes recientes
Did you find a solution to this? I'm facing the same problem.
Juraj Homola, modificado hace 10 años.

RE: The markup in the document following the root element must be well form

New Member Mensajes: 2 Fecha de incorporación: 23/07/13 Mensajes recientes
Hello,

we had the same problem. Problem was on remote unix environment where liferay is running (something about host configuration).

Juraj
Gnanambikai Krishnakumar, modificado hace 9 años.

RE: The markup in the document following the root element must be well form

New Member Mensajes: 3 Fecha de incorporación: 18/10/12 Mensajes recientes
Hi,

I face the same exception on re-indexing all search indexes ( From Control Panel -> Server Administration ) . The re-indexing stops in middle with the following exception . I'm using Liferay version 6.2 CE GA2.

Caused by: org.dom4j.DocumentException: Error on line 3 of document  : The entity "nbsp" was referenced, but not declared. Nested exception: The entity "nbsp" was referenced, but not declared.
	at org.dom4j.io.SAXReader.read(SAXReader.java:482)
	at org.dom4j.io.SAXReader.read(SAXReader.java:365)
	at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:423)
	... 141 more
07:51:43,680 ERROR [http-bio-8080-exec-1][LocaleTransformerListener:120] null
com.liferay.portal.kernel.xml.DocumentException: Error on line 2 of document  : The markup in the document following the root element must be well-formed. Nested exception: The markup in the document following the root element must be well-formed.
	at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:426)
	at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:404)
	at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:437)
	at com.liferay.portal.kernel.xml.SAXReaderUtil.read(SAXReaderUtil.java:155)
	at com.liferay.portlet.journal.util.LocaleTransformerListener.replace(LocaleTransformerListener.java:86)
	at com.liferay.portlet.journal.util.LocaleTransformerListener.onXml(LocaleTransformerListener.java:55)
	at com.liferay.portlet.journal.model.impl.JournalArticleImpl.getContentByLocale(JournalArticleImpl.java:56)
	at com.liferay.portlet.journal.model.impl.JournalArticleImpl.getContentByLocale(JournalArticleImpl.java:128)
	at com.liferay.portlet.journal.util.JournalArticleIndexer.extractBasicContent(JournalArticleIndexer.java:489)
	at com.liferay.portlet.journal.util.JournalArticleIndexer.extractContent(JournalArticleIndexer.java:509)
	at com.liferay.portlet.journal.util.JournalArticleIndexer.doGetDocument(JournalArticleIndexer.java:307)
	at com.liferay.portal.kernel.search.BaseIndexer.getDocument(BaseIndexer.java:151)
	at com.liferay.portlet.journal.util.JournalArticleIndexer$1.performAction(JournalArticleIndexer.java:661)
	at com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery.performActions(BaseActionableDynamicQuery.java:69)
	at com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery.performActionsInMultipleIntervals(BaseActionableDynamicQuery.java:284)
	at com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery.performActions(BaseActionableDynamicQuery.java:42)
	at com.liferay.portlet.journal.util.JournalArticleIndexer.reindexArticles(JournalArticleIndexer.java:671)
	at com.liferay.portlet.journal.util.JournalArticleIndexer.doReindex(JournalArticleIndexer.java:459)
	at com.liferay.portal.kernel.search.BaseIndexer.reindex(BaseIndexer.java:457)
	at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:159)
	at com.liferay.portal.search.lucene.LuceneIndexer.doReIndex(LuceneIndexer.java:125)
	at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:64)
	at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:57)
	at com.liferay.portlet.admin.action.EditServerAction.reindex(EditServerAction.java:384)
	at com.liferay.portlet.admin.action.EditServerAction.processAction(EditServerAction.java:199)
	at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:166)
	at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:216)
	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:71)
	at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
	at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:618)
	at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:649)
	at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:312)
	at com.liferay.portlet.PortletContainerImpl._doProcessAction(PortletContainerImpl.java:402)
	at com.liferay.portlet.PortletContainerImpl.processAction(PortletContainerImpl.java:110)
	at com.liferay.portlet.SecurityPortletContainerWrapper.processAction(SecurityPortletContainerWrapper.java:109)
	at com.liferay.portlet.RestrictPortletContainerWrapper.processAction(RestrictPortletContainerWrapper.java:75)
	at com.liferay.portal.kernel.portlet.PortletContainerUtil.processAction(PortletContainerUtil.java:115)
	at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:356)
	at com.liferay.portal.action.LayoutAction.doExecute(LayoutAction.java:178)
	at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:79)
	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:173)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
	at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:546)
	at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:523)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:293)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
	at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:160)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
	at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:359)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:293)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
	at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:243)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
	at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:70)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
	at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:263)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
	at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:226)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:185)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:165)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:165)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:185)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:679)
Caused by: org.dom4j.DocumentException: Error on line 2 of document  : The markup in the document following the root element must be well-formed. Nested exception: The markup in the document following the root element must be well-formed.
	at org.dom4j.io.SAXReader.read(SAXReader.java:482)
	at org.dom4j.io.SAXReader.read(SAXReader.java:365)
	at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:423)
	... 141 more


Any idea / suggestion to solve this problem would be appreciated.

Thanks in advance.
thumbnail
Anuvab Ghosh, modificado hace 8 años.

RE: The markup in the document following the root element must be well form

Regular Member Mensajes: 130 Fecha de incorporación: 18/04/15 Mensajes recientes
I have faced the same problem, please give some solution to recover from it.
Error message is shown below.

Caused by: org.dom4j.DocumentException: Error on line 3 of document  : The markup in the document following the root element must be well-formed. Nested exception: The markup in the document following the root element must be well-formed.
      at org.dom4j.io.SAXReader.read(SAXReader.java:482)
      at org.dom4j.io.SAXReader.read(SAXReader.java:365)
      at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:396)