TS 6.0, Unix
Hello all. I'm having an issue with trying to create Mixed-type Unbounded Collections in my DCT's and can't seem for the life of me to figure it out. In the past, all of our DCT coding has been based on TS 5.x tags, so I'm now trying to get a handle on some of the new Forms Publisher features. I have the manuals, and have tried here to recreate their examples but for some reason it just doesn't work. On my 'or' replicants I just don't get the menu selection to choose what part of the replicant group I want to re-create. Do you have to use a custom DTD inorder to get this type of functionality to work? For all I know I'm missing something very obvious. Any help will be appreciated.
I've attached the DCT and the custom DTD.
DCT++++++++++++++++++++++++++++
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE data-capture-requirements SYSTEM "datacapture6.0.dtd">
<!-- Note that the dtd-system-identifier may be changed to point to the correct location of pr.dtd
if DTD validation is needed. -->
<data-capture-requirements dtd-system-identifier="/david/pr.dtd" name="press-release">
<ruleset name="dct">
<root-container name="press-release" location="press-release">
<container location="head" name="head">
<label>Heading</label>
<item name="title" pathid="title">
<label>Title</label>
<description>This is the title of the press release. Make it hook people in!</description>
<text maxlength="0" required="t" size="40"/>
</item>
<container location="byline" name="byline">
<label>Byline</label>
<item name="author" pathid="
@author">
<label>Author</label>
<description>Your name here, please.</description>
<text maxlength="0" required="t" size="20"/>
</item>
<item name="location" pathid="
@location">
<label>Location</label>
<description>Select the appropriate office.</description>
<radio>
<option label="Sunnyvale, CA" value="CA" selected="t"/>
<option label="Bethesda, MD" value="MD"/>
<option label="Chicago, IL" value="IL"/>
</radio>
</item>
</container>
</container>
<container name="body" location="body">
<label>Body</label>
<container combination="and" location="" max="20" min="1" name="IWSubElements">
<container combination="and" location="section" name="section">
<label>Section</label>
<item name="subheading" pathid="subheading">
<label>Subheading</label>
<description>This is just a section subheading.</description>
<text maxlength="0" required="t" size="40"/>
</item>
<item max="20" min="0" name="paragraph" pathid="paragraph">
<label>Paragraph</label>
<description>Be frugal with words -- make every word count! Do not forget: Build The Buzz!</description>
<textarea cols="75" external-editor="visualformat" external-editor-inline="t" required="t"
rows="10" wrap="off"/>
</item>
</container>
</container>
</container>
<container name='storyBase' location='story'>
<label>Story</label>
<container name='choices' max='unbounded' conbination='or'>
<label>Story Elements</label>
<item name='para' pathid='par'>
<label>Text</label>
<textarea cols='60' rows='8' />
</item>
<item name='head' pathid='hdg'>
<label>Heading</label>
<text required='t' />
</item>
<item name='pict' pathid='pic'>
<label>Pictures</label>
<browser extns='jpg,gif' />
</item>
</container>
</container>
</root-container>
</ruleset>
</data-capture-requirements>
DTD++++++++++++++++++++++++++++++
<!-- This is a very simple example DTD, for a press release.
There are not many elements, and there is no circularity in
elements containing other elements. For example, a "body"
element does not ever contain an element which contains an
element (and so) which contains a "body" element again. -->
<!-- The top-level element of a press release must be a
"press release" element. This element type contains a
"head" element and a "body" element. -->
<!ELEMENT press-release (head,body)>
<!-- The "head" element type describes the header of a
press release. This element type contains a "title" element,
and a "byline" element. -->
<!ELEMENT head (title,byline)>
<!-- The "title" element type describes the title of the
press release. This element type contains just character
data. -->
<!ELEMENT title (#PCDATA)>
<!-- The "byline" element type contains no sub-elements and
no character data. However, it does have two mandatory
attributes, "author" and "location". -->
<!ELEMENT byline EMPTY>
<!ATTLIST byline
author CDATA #REQUIRED
location CDATA #REQUIRED
>
<!-- The "body" element type describes the body of the
press release. This element type contains one or more
"section" elements. -->
<!ELEMENT body (section)+>
<!-- The "section" element type describes the sections of the
press release. This element type contains one subheading
followed by zero or more "paragraph" elements. -->
<!ELEMENT section (subheading, paragraph*)>
<!-- The "subheading" element type describes a subheading of the
press release. This element type contains just character
data. -->
<!ELEMENT subheading (#PCDATA)>
<!-- The "paragraph" element type describes a paragraph of the
press release. This element type contains just character
data. -->
<!ELEMENT paragraph (#PCDATA)>
<!ELEMENT story (paragraph|heading|picture)*>