Bugs item #3425618, was opened at 2011-10-19 07:41
Message generated for change (Comment added) made by ruv
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=3425618&group_id=129076

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Export/Import
Group: Sedna (current&development)
Status: Open
Resolution: Accepted
Priority: 3
Private: No
Submitted By: ruvim (ruv)
Assigned to: Ivan Shcheklein (shcheklein)
Summary: export function produces not well formed document

Initial Comment:
Sedna version="3.5" build="60". OS Windows 2008 Server.

Output of the se_exp restore log:
RESTORING DATA (path=/temp/sedna.backup/test/ host=localhost database=test)

ERROR: failed to execute query:

declare boundary-space preserve; LOAD "4.xml" "page"

Details:

SEDNA Message: ERROR SE2005
Parse error at
Details: line 1:
no element found

RESTORING FAILED


The 4.xml file contains only the xml declaration:
<?xml version="1.0" standalone="yes"?>

The corresponded document in the database had been empty.


----------------------------------------------------------------------

>Comment By: ruvim (ruv)
Date: 2011-10-19 14:58

Message:
I think, a some warning about such special cases from 'export' will be a
good quick solution. 

----------------------------------------------------------------------

Comment By: ruvim (ruv)
Date: 2011-10-19 14:53

Message:
I agree.  This document had been only created in the database (via CREATE
DOCUMENT) and had not been changed.

I have missed a note in the manual "se_exp utility doesn’t support
exporting [...] empty documents".


In general, may be the export function should use special method for
serialize the documents with no root or multiple roots. 

----------------------------------------------------------------------

Comment By: Ivan Shcheklein (shcheklein)
Date: 2011-10-19 12:02

Message:
I believe this document is not well formed. Empty documents (as well as
documents with multiple roots) are allowed by XQuery data model but could
not be properly serialized into well formed document.

Still, this is bug and should be fixed. 

Workaround: don't use empty and multiple rooted documents.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=3425618&group_id=129076

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to