CDR Tickets

Issue Number 3286
Summary [Summary] Pub Preview issue
Created 2010-12-30 14:46:31
Issue Type Improvement
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2010-12-30 15:55:49
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.107614
Description

BZISSUE::4976
BZDATETIME::2010-12-30 14:46:31
BZCREATOR::William Osei-Poku
BZASSIGNEE::Volker Englisch
BZQACONTACT::William Osei-Poku

There seems to be a problem with publish preview for CDR0000256833 Spanish Summary. The error message is

"CDRPreview web service error: The element 'SummarySection' has invalid child element 'Title'. List of possible elements expected: 'Contact ItemizedList LiteralLayout OrderedList QandASet Para MediaLink Table SummarySection ReferenceSection'.Validation error occurred when validating the instance document.,183,87 "

It doesn't look like a general publish preview issue since publish preview works for other documents. It's just this one document. However, the document validates and comparing it with the English version, there are no obvious problems. Could you please take a look?

Comment entered 2010-12-30 15:05:05 by Englisch, Volker (NIH/NCI) [C]

BZDATETIME::2010-12-30 15:05:05
BZCOMMENTOR::Volker Englisch
BZCOMMENT::1

In the second to last SummarySection you have listed the elements
SummarySection
Title
Para
ItemizedList
Para
ItemizedList
MiscellaneousDocLink

The MiscellaneousDocLink includes the elements
Title
Para
ItemizedList
...

The Title element coming from the misc. document isn't allowed at this position by the DTD. If you change the fragment ID to "_27" for the link you should be able to run the PP report.

Comment entered 2010-12-30 15:28:42 by Osei-Poku, William (NIH/NCI) [C]

BZDATETIME::2010-12-30 15:28:42
BZCOMMENTOR::William Osei-Poku
BZCOMMENT::2

It worked. Thanks!

It looks like this will recur. How should we fix this permanently? Can we make the change in the miscellaneous doc. instead of the template?

Comment entered 2010-12-30 15:39:38 by Englisch, Volker (NIH/NCI) [C]

BZDATETIME::2010-12-30 15:39:38
BZCOMMENTOR::Volker Englisch
BZCOMMENT::3

That depends. If you are certain that the change in the misc doc will not make any summaries using this section invalid and you're OK with all those summaries being republished then changing it in the misc. doc should be OK.
If you only want to make the change for documents created from this day forward and don't want to affect any other summaries changing the fragment ID in the template should be fine.

Comment entered 2010-12-30 15:55:49 by Osei-Poku, William (NIH/NCI) [C]

BZDATETIME::2010-12-30 15:55:49
BZCOMMENTOR::William Osei-Poku
BZCOMMENT::4

OK. Thanks! We will look into it and decide.

Issue closed!

Elapsed: 0:00:00.001428