Problems with large content

rupak.wahi - November 25, 2008 - 07:39
Project:XML Content
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:critical
Assigned:Unassigned
Status:active
Description

When i use bigger XML file as content and assign a xslt against it I get warnings:

warning: DOMDocument::loadXML() [domdocument.loadxml]: Premature end of data in tag PropertyReference line 14 in Entity, line: 15 in C:\Program Files\Apache Group\Apache2\htdocs\drupal\sites\default\modules\xmlcontent\xmlcontent.module on line 221.
warning: DOMDocument::loadXML() [domdocument.loadxml]: Premature end of data in tag Property line 4 in Entity, line: 15 in C:\Program Files\Apache Group\Apache2\htdocs\drupal\sites\default\modules\xmlcontent\xmlcontent.module on line 221.
warning: DOMDocument::loadXML() [domdocument.loadxml]: Premature end of data in tag Group line 2 in Entity, line: 15 in C:\Program Files\Apache Group\Apache2\htdocs\drupal\sites\default\modules\xmlcontent\xmlcontent.module on line 221.
warning: DOMDocument::loadXML() [domdocument.loadxml]: Premature end of data in tag SubmitPortfolioInformationData line 1 in Entity, line: 15 in C:\Program Files\Apache Group\Apache2\htdocs\drupal\sites\default\modules\xmlcontent\xmlcontent.module on line 221.

Due to this when i post the content on front it gives error also not display as per xslt applied, but when viewed as more it shows proper and perfect output as required aslo when edited the same lots of error in watchdog tables insert shows.

Please do help me out!!!!

#1

weam - November 26, 2008 - 23:55

Are you sure the XML and XSLT are valid and well-formatted? And are there any memory-related errors in your logs (watchdog, apache)? Post them if it's possible.

#2

harveybetty - December 29, 2008 - 22:42

I had the same error. I turned off the "Line break converter" filter then everything worked as expected! Hope this helps others.

#3

KiamLaLuno - March 2, 2009 - 19:08
Title:Bigger XML content» Problems with large content
Component:User interface» Code
Assigned to:rupak.wahi» Anonymous

The line breaker converter can indeed cause problems when the content of a node is XML.

 
 

Drupal is a registered trademark of Dries Buytaert.