[RFC] nALFS profile parsing changes

James Robertson jwrober at linuxfromscratch.org
Sun Feb 15 19:03:15 PST 2004

Kevin P. Fleming wrote:
> James Robertson wrote:
>> That sounds great.  Question: Does xmllint have an API we can take 
>> advantage of?  If so, how hard is it to go ahead and add the code to 
>> spit out what xmllint would in your example above?
> Not really, no. However xmllint is itself a pretty simple program, it 
> would not be hard to duplicate the relevant parts of it into nALFS.
> The biggest problem, though, is that the code that finds the semantic 
> errors runs after _all_ parsing is complete; the original XML (before 
> entity substitution, whitespace-munging, etc.) is gone by then.

OK, That makes perfect sense.  We would probably be better off in 
putting instructions on using xmllint into the user's guide - easier.


James Robertson -- jwrober at linuxfromscratch dot org
Reg. Linux User -- #160424 -- http://counter.li.org
Reg. LFS User   -- #6981   -- http://www.linuxfromscratch.org
LFS Bugzilla Maintainer    -- http://{blfs-}bugs.linuxfromscratch.org

More information about the alfs-discuss mailing list