RE: Scarab XML import

"Kunkee,Nathan" <[email protected]> Fri, 27 Aug 2010 09:46:18 -0500
Newsgroups gmane.comp.java.scarab.user
Message-ID <[email protected]>
Hi Jay,

Have you exported a pre-existing set of issues to review the XML? Scarab is=
 nice in that the export and import XML files work identically. I had to do=
 this a few times to figure out what I needed.

Do you have your activity-sets/activity-set grouped properly around each co=
mment?=20

I know I had trouble when I didn't assign an ID element for each and every =
object that has one in an export. For example, each <activity> element is e=
xpected to have an ID element also, which can be a number, or prefix a numb=
er with a string for Scarab to autogenerate a number.=20

There is a build attribute that you must turn on for local attachment impor=
ting to work. Since I can't find it just now on my instance, perhaps someon=
e else can chime in. Bear in mind the source attachments have to be listed =
with local paths to the instance, not necessarily to the location you run t=
he import script from.=20

Hope that helps,
Nathan


From: Chang, Jay [mailto:[email protected]]=20
Sent: Thursday, August 26, 2010 4:20 PM
To: [email protected]
Subject: Scarab XML import

Hi All,

I tried to import a series of issues to Scarab using XML import, those issu=
es may contain comments, attachments, and personnel assignments.=C2=A0 Both=
 the comment and personnel elements only worked for the very first issue th=
at contains the comment or the personnel element and the rest of the issues=
 did not import either element at all.=C2=A0 That is only one comment eleme=
nt and one personnel element got imported for the entire importing issues.=
=C2=A0 Does anyone know how to resolve this problem?

The second problem is that none of the attachments got imported at all.=C2=
=A0 Again any help will be appreciated.

I have extensively study the Scarab XML format by studying XML format from =
export issue and the Scarab DTD document but don't know what I missed.

Thanks in advance!
Jay

----------------------------------------------------------------------
CONFIDENTIALITY NOTICE This message and any included attachments are from C=
erner Corporation and are intended only for the addressee. The information =
contained in this message is confidential and may constitute inside or non-=
public information under international, federal, or state securities laws. =
Unauthorized forwarding, printing, copying, distribution, or use of such in=
formation is strictly prohibited and may be unlawful. If you are not the ad=
dressee, please promptly delete this message and notify the sender of the d=
elivery error by e-mail or you may call Cerner's corporate offices in Kansa=
s City, Missouri, U.S.A at (+1) (816)221-1024.

------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3D456&dsMessageId=3D26=
52101

To unsubscribe from this discussion, e-mail: [[email protected]=
is.org].