|
top
|
Subject: Re: DTD Author: (Deleted User) Date: 21 Aug 2001 03:22 PM
|
At 15.21 21/08/2001 -0400, stylus-studio-tech Listmanager wrote:
>From: "Sue Osheka"
>
>Thanks for the response. Another question, I can go into the "text" tab,
>delete out the *, so that only PCDATA remains. The schema tab still
>incorrectly reads "0 or more". At this point, if I save my file, and open
>it in notepad, it is saved without the *. Confusing, isn't it?
That's the Xerces behavior I am referring to; when the parser sees a
(#PCDATA) definition, it reports it to Stylus as a (#PCDATA)*. When Stylus
saves the DTD, it changes it on the fly to the correct DTD syntax (no *).
So, to keep the tree view consistent between what you see when you load an
existing file and what you enter manually, we chose to require a 'Zero Or
More' modifier to be the parent of the #PCDATA entry.
Alberto
|
|
|
|