DOCBOOK-APPS: Re: conditionalization of XML

2002-10-11 Thread Eric S. Raymond
me of those problems. Propose a syntax? All the ones I thought up were too ugly to live. If you can come up with anything better I might implement it. --=20 http://www.tuxedo.org/~esr/";>Eric S. Raymond --vkogqOf2sHV7VnPd Content-Type: application/pgp-sign

DOCBOOK-APPS: Re: conditionalization of XML

2002-10-11 Thread Eric S. Raymond
Now tell me how this differs, other than in surface syntax, from what I've already done? Yes, I could have dressed up my conditionals this way. Still could with=20 some trivial changes to my flex program. I thought it would be more honest to make them PIs. --=20 http://w

DOCBOOK-APPS: Re: conditionalization of XML

2002-10-11 Thread Eric S. Raymond
e necessary parts of it). > > In fact, that's just what my code does, by way of an egregious hack. So, are you planning to publish and support this? -- http://www.tuxedo.org/~esr/";>Eric S. Raymond msg06265/pgp0.pgp Description: PGP signature

DOCBOOK-APPS: Re: conditionalization of XML

2002-10-11 Thread Eric S. Raymond
ersion &version;) This is one of the reasons I'm skeptical about a pure-XML approach. If you're going to have to process before validation, why care about the XNL structure at all? -- http://www.tuxedo.org/~esr/";>Eric S. Raymond msg06263/pgp0.pgp Description: PGP signature

DOCBOOK-APPS: Re: conditionalization of XML

2002-10-11 Thread Eric S. Raymond
input to be well-formed > XML and guarantees that the result will be well-formed. Good answer. Same one I anticipated several messages up-thgread :-) So, how would *you* implement this "specialized vocabulary"? XSLT doesn't have the marbles for it. --=20 h

DOCBOOK-APPS: conditionalization of XML

2002-10-11 Thread Eric S. Raymond
do that. (3) You add --error-filename. Has the advantage that it could be used with other preprocessors. Your thoughts? -- http://www.tuxedo.org/~esr/";>Eric S. Raymond

DOCBOOK-APPS: Re: conditionalization of XML

2002-10-11 Thread Eric S. Raymond
Daniel Veillard <[EMAIL PROTECTED]>: > On Thu, Oct 10, 2002 at 06:14:59PM -0400, Eric S. Raymond wrote: > > What would you consider a complete solution to this problem? I'm not > > wedded to xmlif itself, I just need to get some work done that > > requires being a

Re: DOCBOOK-APPS: Re: conditionalization of XML

2002-10-11 Thread Eric S. Raymond
dled, and how ? xmlif knows nothing about the XML structure of the document. All it `sees' is the processing instructions what is otherwise, from its point of view, a featureless byte stream. -- http://www.tuxedo.org/~esr/";>Eric S. Raymond

Re: DOCBOOK-APPS: Re: conditionalization of XML

2002-10-11 Thread Eric S. Raymond
Daniel Veillard <[EMAIL PROTECTED]>: > On Fri, Oct 11, 2002 at 05:38:02AM -0400, Eric S. Raymond wrote: > > xmlif knows nothing about the XML structure of the document. All it `sees' > > is the processing instructions what is otherwise, from its point of view, >

DOCBOOK-APPS: Re: conditionalization of XML

2002-10-11 Thread Eric S. Raymond
giginal/ > of the stderr stream doesn't sound hard to setup ... Fine if I'm processing errors in batch mode, yes. But I mentioned Emacs for a reason... -- http://www.tuxedo.org/~esr/";>Eric S. Raymond

Re: DOCBOOK-APPS: Re: conditionalization of XML

2002-10-11 Thread Eric S. Raymond
nd-lineconditionscolor='black'and color='white'. Here is an example: Always issue this text. Issue this text if 'condition=html' is given on the command line. Issue this text if 'condition=pdf' or 'condition=ps' is given on the command line. Otherwise issue this text. Always issue this text. -- http://www.tuxedo.org/~esr/";>Eric S. Raymond

Re: DOCBOOK-APPS: Re: conditionalization of XML

2002-10-11 Thread Eric S. Raymond
quest. Do you want a more formal specification of the behavior of the PIs? -- http://www.tuxedo.org/~esr/";>Eric S. Raymond

Re: DOCBOOK-APPS: Re: conditionalization of XML

2002-10-11 Thread Eric S. Raymond
ed it. The PI-based will get a real-world test from xmlto's users asfter the 0.11 relese. > You claim to have the magic solution, I want to hear > more voices before commiting on it, especially since I'm not personally > convinced it's the right technical approach. Magic, no. Workable, yes. -- http://www.tuxedo.org/~esr/";>Eric S. Raymond

DOCBOOK-APPS: Re: doclifter and ISO character entities

2002-09-18 Thread Eric S. Raymond
;ll issue an updated version of doclifter that doesn't generate entity-set inclusions. And be glad to do it, actually -- I'll be able to chop out two huge dictionaries and some ugly code. -- http://www.tuxedo.org/~esr/";>Eric S. Raymond