Andreas Vox <[EMAIL PROTECTED]> schrieb am 18.10.04 22:30:09: > > Chris Karakas <[EMAIL PROTECTED]> writes: > > > I suggest to leave validation to validating parsers, or, > if you want to validate, then use an external one, > > Unfortunately it's not about validating but about producing parsable DocBook.
I am against it. It is not LyX' job to check my labels. I know very well (and every user who does DocBook with LyX should know it) that "labels become filenames": http://www.karakas-online.de/mySGML/labels-as-filenames.html and it should be my responsibility as a user to get the names I want and persuade the parser to accept them. If my preferences (in the DocBook files and the SGML catalogs) say that "underscore is not allowed" then it should be my job to take care to either change this, as described in http://www.karakas-online.de/forum/viewtopic.php?t=872 or accept it and replace my underscores with some other character. I repeat: LyX should not tell me what's right or wrong, unless it is constantly validating the document against the DTD and its catalogs - an idea that was proposed here in another thread, but was dismissed as too complicated. > Since the Dsssl stylesheets from N Walsh and the DocBook XSL stylesheets > seem to be standard, we will have to follow this defacto standard. > Agreed. Just create ID's from LyX' labels without any character translation and let the user find out himself whether the labels contain illegal characters - according to his configuration, entities, catalogs etc. > Oh yes, and "52-degree" becomes "x52-degree". > No and again no. Don't mess up with the user's naming choices. You never know what he is up to, so don't try to correct him. Let the validating parser do this, when its time comes to be ran by the user. > > P.S. Chris, if you write lines longer than 78 chars it is a PITA to quote you > with gmane. And I like gmane because it is possible to make true > followups, not just use the same subject. > I am writing you from my webmail interface. I can only try to insert newlines whenever I remember (hopefully not too often)! ;-) -- Regards Chris Karakas http://www.karakas-online.de