On Mon, Oct 18, 2004 at 08:43:46PM +0200, Chris Karakas wrote:
> > 
> 
> Jose and Andreas,
> 
> it is not that simple! The underscore may very well be allowed in the value of an ID 
> attribute, at least in SGML! This quite tricky subject is dealt in:
> 
> character "_" not allowed in value of attribute ID
> http://www.karakas-online.de/forum/viewtopic.php?t=872

  I hope you are not suggesting to change the DocBook SGML Declaration?
  At least because of a small detail like this.

  Also if lyx deals with all the references there is no problem as it will
be always consistent.

> I suggest to leave validation to validating parsers, or, if you want to
> validate, then use an external one, don't try to reinvent the wheel. SGML
> can be quite tricky at this - and that was a reason that led to XML, namely
> that parsing SGML can be a challenge to program.

  As Andreas mentioned it is a question of producing legal code, we use the
same trick for latex, for identical reasons.

> -- 
> Regards
> 
> Chris Karakas
> http://www.karakas-online.de
> 

-- 
José Abílio Matos
LyX and docbook a perfect match. :-)

Reply via email to