Standard off the shelf validating parser please. I do not want my programmers wasting their time writing parsers. Even simple ones are hard, if one expects them to be reliable and handle flaky inputs.
I also want off the shell tools like XSLT to produce html for reports. BobLQ BTW, what do you call that? It is not an s-expression is it? On 7/6/07, John H. Robinson, IV <[EMAIL PROTECTED]> wrote:
Bob La Quey wrote: > > [1] Example of foomatic printer xml file. > > I find this readable enough. It is pretty printed > and properly indendted. You need to use a non proportional > font on your viewer or it may look very ugly. > printer.id="printer/Samsung-CLP-600" make=Samsung model=CLP-600 mechanism=laser,color resolution.dpi.x=1200 resolution.dpi.y=1200 margin.unit=mm margin.top=4.23164 margin.bottom=4.23164 margin.left=3.175 margin.right=3.175 consumable.comment.en="Toner Black (4000 prints) - $80 Toner Yellow (4000 prints) - $110 Toner Magenta (4000 prints) - $110 Toner Cyan (4000 prints) - $110 Transfer Belt (35000 prints) - $47 " consumable.partno=CLP-K600A,CLP-Y600A,CLP-M600A,CLP-C600A,CLP-T600A url=http://www.samsung.com/Products/PrinterandMultifunction/ColorLaserPrinters/CLP_600NXAA.asp lang.proprietary=TRUE # no pjl # No "text"? autodetect= functionality=B driver=foo2qpdl # not "unverified" # no "contrib_url" comments.en=" The Samsung CLP-600 is a networked color laser printer with a 2007 street price of $450 USD. This printer is supported by the foo2qpdl open software printer driver. "
[snip]
Yup. As I suspected: XML config files are overgrown, overbloated, hard to read, and contain WAY too much redundant information. -john Interested parties can do some wc(1) stats.
-- KPLUG-List@kernel-panic.org http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list