OpenEdit User Forum
Welcome to the OpenEdit DAM User Forum.
You must be registered and logged in to post a new comment or topic.
If you require dedicated support to your OpenEdit DAM project, please see our Buy OpenEdit DAM Support page for
more information.
Hi,
I'm getting the following from the archive when I try to open an archived pdf. It's not affecting all pdfs just some.
Maybe something I've missed in setup ?
com.openedit.OpenEditException: com.openedit.OpenEditRuntimeException:
Error on line 187 of document : An invalid XML character (Unicode: 0x0)
was found in the CDATA section. Nested exception: An invalid XML character
(Unicode: 0x0) was found in the CDATA section.path: /archive/products/pdfs/2008/GA_2008_11_06/GA_0611_E1_006.pdf.html
com.openedit.OpenEditException: com.openedit.OpenEditRuntimeException:
Error on line 187 of document : An invalid XML character (Unicode: 0x0)
was found in the CDATA section. Nested exception: An invalid XML character
(Unicode: 0x0) was found in the CDATA section.path: /archive/products/pdfs/2008/GA_2008_11_06/GA_0611_E1_006.pdf.html
at com.openedit.page.manage.XConfToPageSettingsConverter.configure(XConfToPageSettingsConverter.java:297)
at com.openedit.page.manage.PageSettingsManager.createPageSettings(PageSettingsManager.java:122)
at com.openedit.page.manage.PageSettingsManager.getPageSettings(PageSettingsManager.java:59)
at com.openedit.page.manage.PageManager.createPage(PageManager.java:266)
at com.openedit.page.manage.PageManager.getPage(PageManager.java:239)
at com.openedit.servlet.BaseOpenEditEngine.render(BaseOpenEditEngine.java:61)
at com.openedit.servlet.OpenEditFilter.doFilter(OpenEditFilter.java:67)
at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
at com.openedit.servlet.gzip.GzipFilter.doFilter(GzipFilter.java:25)
at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:266)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:270)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:678)
at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721)
at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643)
at java.lang.Thread.run(Thread.java:613)
Kevin,
It looks like you have some illegal xml in a .xconf file somewhere, probably somewhere along the path
/archive/products/pdfs/2008/GA_2008_11_06/
Look through those folders for a _site.xconf with bad XML. If you aren't sure, you can post the contents of the .xconf here and we can take a look at it for you.
Sorry I don't have a more precise answer for you, Kevin. It is a little difficult to tell from that error exactly where the problem is.
-Taylor
Taylor,
thanks for the reply, below are 4 line from the from the offening xml file. The error appear to relate to a line of text that corresponds to where there is a euro symbol in the pdf, i've noticed the same with other pdfs.
I can provide you with a copy of the pdf if you wish.
186: All for only
I think the last 3 lines you copied from the XML file got cut off. Could you try to post that again?
All for only
well me pasting the offending text doesn't appear to be working
www.advertiser.ie/uploads/GA_0611_E1_006.pdf.xconf.zip
This is a link to the xml file its self
Also the pdf www.advertiser.ie/uploads/GA_0611_E1_006.pdf
Kevin,
It looks like the library we were using to create the full searchable text for pdfs has some issues. We just checked in a fix to scrub out illegal characters from the text. If you upgrade your Search module and re-import the pdfs it should work. I just tried it locally with your pdf and it imported without issue and I was able to get to the product details page and download the pdf.
Hope this helps,
-Taylor
Taylor,
Thanks for all the help. The update has solved the problem.
-Kevin