OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cgmo-webcgm message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Question about WebCGM DTD


The chapter 5 from the Munich meeting is marked with the following
comments from Franck and Dave: "Globally, it seems to me that we should
have some wording/links to justify the content model of our elements.
Clarify why the extensions to the content model occur at the end of
the individual content for each element".

I originally had a hard time understanding what needed to be clarified?
After looking at the DTD in more detail, I think I now understand.
Let's look at 'grobject', its content is currently defined as:

<!ENTITY % grobjectEXT "" >
<!ELEMENT grobject ( linkuri* %grobjectEXT; )>

Hence the comments, but to the best of my knowledge, that's an error,
it should be: 

<!ENTITY % grobjectEXT "" >
<!ELEMENT grobject ( linkuri %grobjectEXT; )* >

Do people remember ever taking the decision that extended elements
must be the last child of its parent element in the XML companion
file.

To me, this should be valid:
<grobject apsId="myId"/>
  <linkuri .../>
  <ben:myElem .../>
  <ben:anotherElem .../>
  <linkuri .../>
</grobject>

If I correct the DTD, is a justification for our content model still
required?

-- 
 Benoit                 mailto:benoit@itedo.com



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]