You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Stefano Mazzocchi <st...@apache.org> on 2002/02/10 13:04:16 UTC

DTD problems

Stefano Mazzocchi wrote:

> > document-v11.dtd:352:35:E: element type "note" already defined

fixed

> > document-v11.dtd:488:30:E: delimiter "|" invalid: only data tag group,
> > model group, element token, "#PCDATA", "#ALL", "#IMPLICIT" and
> > token separators are allowed for

can't find any '|' at line 488!?! don't know what this is for

> > changes.xml:6:0:W: generic identifier "warning" used in DTD but not defined

fixed

> > changes.xml:6:0:W: generic identifier "img" used in DTD but not defined

fixed

> > changes.xml:6:0:W: generic identifier "body" used in DTD but not defined

don't know where this comes from! probably related to the one above!

> > changes.xml:6:0:W: generic identifier "li" used in DTD but not defined

fixed

> > changes.xml:6:0:W: generic identifier "connect" used in DTD but not defined

fixed

> > changes.xml:13:15:X: reference to non-existent ID "SF"

have no idea on how to fix this! sounds like a parser bug to me!

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<st...@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------

Re: DTD problems

Posted by Stefano Mazzocchi <st...@apache.org>.
David Crossley wrote:
> 
> Hi Stefano, are you still working on the DTDs? If so, then
> i will wait for your next commit. Otherwise, i will try to sort
> the problems with parsing the current DTDs from CVS.

Go on.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<st...@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------



RE: DTD problems

Posted by David Crossley <cr...@indexgeo.com.au>.
Steven Noels wrote:
> David,
> here's a diff for the document.dtd

That is excellent, Steven. I have added your patch to
my local working copy, and all is now well. I have also
made a few other minor mods to that DTD and changes.xml
Everything will now pass XML validation.

I have a couple of other things to do, so will get it all into
the repository soon.

> I'm considering creating some sample docs, and (for Windows users) the
> necessary XMetal configuration files for 'wysiwyg' editing - would that
> be of interest?

Let us talk about this in a separate thread. I am not clear
about what your intention is here, though it sounds great.
--David

> Regards,
> 
> </Steven>
> 
> > -----Original Message-----
> > From: David Crossley
> > Sent: donderdag 14 februari 2002 8:21
> > To: forrest-dev@xml.apache.org
> > Subject: Re: DTD problems
> >
> > Hi Stefano, are you still working on the DTDs? If so, then
> > i will wait for your next commit. Otherwise, i will try to sort
> > the problems with parsing the current DTDs from CVS.
> > --David
> >
> > David Crossley wrote:
> > > Woops, your last checkin of document-v11.dtd fixed some
> > > errors but seems to introduce even more. Here is the first
> > > error, which is then followed by other similar errors, then by
> > > errors that are a result of those.
> > > document-v11.dtd:266:37:E: parameter entity "markup" not defined
> > > ...
> > >
> > > The problem seems to be with using parameter entities before
> > > they are defined. I am no DTD expert ... hope that helps.
> > > --David


RE: DTD problems

Posted by Steven Noels <st...@outerthought.org>.
David,

here's a diff for the document.dtd

I'm considering creating some sample docs, and (for Windows users) the
necessary XMetal configuration files for 'wysiwyg' editing - would that
be of interest?

Regards,

</Steven>

> -----Original Message-----
> From: David Crossley [mailto:crossley@indexgeo.com.au]
> Sent: donderdag 14 februari 2002 8:21
> To: forrest-dev@xml.apache.org
> Subject: Re: DTD problems
>
>
> Hi Stefano, are you still working on the DTDs? If so, then
> i will wait for your next commit. Otherwise, i will try to sort
> the problems with parsing the current DTDs from CVS.
> --David
>
> David Crossley wrote:
> > Woops, your last checkin of document-v11.dtd fixed some
> > errors but seems to introduce even more. Here is the first
> > error, which is then followed by other similar errors, then by
> > errors that are a result of those.
> > document-v11.dtd:266:37:E: parameter entity "markup" not defined
> > ...
> >
> > The problem seems to be with using parameter entities before
> > they are defined. I am no DTD expert ... hope that helps.
> > --David
>

Re: DTD problems

Posted by David Crossley <cr...@indexgeo.com.au>.
Hi Stefano, are you still working on the DTDs? If so, then
i will wait for your next commit. Otherwise, i will try to sort
the problems with parsing the current DTDs from CVS.
--David

David Crossley wrote:
> Woops, your last checkin of document-v11.dtd fixed some
> errors but seems to introduce even more. Here is the first
> error, which is then followed by other similar errors, then by
> errors that are a result of those.
> document-v11.dtd:266:37:E: parameter entity "markup" not defined
> ...
> 
> The problem seems to be with using parameter entities before
> they are defined. I am no DTD expert ... hope that helps.
> --David

Re: DTD problems

Posted by David Crossley <cr...@indexgeo.com.au>.
Woops, your last checkin of document-v11.dtd fixed some
errors but seems to introduce even more. Here is the first
error, which is then followed by other similar errors, then by
errors that are a result of those.
document-v11.dtd:266:37:E: parameter entity "markup" not defined
...

The problem seems to be with using parameter entities before
they are defined. I am no DTD expert ... hope that helps.
--David

------------
Stefano Mazzocchi wrote:
> > > document-v11.dtd:352:35:E: element type "note" already defined
> 
> fixed
> 
> > > document-v11.dtd:488:30:E: delimiter "|" invalid: only data tag group,
> > > model group, element token, "#PCDATA", "#ALL", "#IMPLICIT" and
> > > token separators are allowed for
> 
> can't find any '|' at line 488!?! don't know what this is for
> 
> > > changes.xml:6:0:W: generic identifier "warning" used in DTD but not defined
> 
> fixed
> 
> > > changes.xml:6:0:W: generic identifier "img" used in DTD but not defined
> 
> fixed
> 
> > > changes.xml:6:0:W: generic identifier "body" used in DTD but not defined
> 
> don't know where this comes from! probably related to the one above!
> 
> > > changes.xml:6:0:W: generic identifier "li" used in DTD but not defined
> 
> fixed
> 
> > > changes.xml:6:0:W: generic identifier "connect" used in DTD but not defined
> 
> fixed
> 
> > > changes.xml:13:15:X: reference to non-existent ID "SF"
> 
> have no idea on how to fix this! sounds like a parser bug to me!
> 
> -- 
> Stefano Mazzocchi      One must still have chaos in oneself to be
>                           able to give birth to a dancing star.
> <st...@apache.org>                             Friedrich Nietzsche
> --------------------------------------------------------------------
> 
>