On Tue, Nov 24, 2009 at 22:20, Rob Richards <rricha...@php.net> wrote: > Hannes Magnusson wrote: >> >> On Sat, Nov 21, 2009 at 02:12, Hannes Magnusson >> <hannes.magnus...@gmail.com> wrote: >> >> >> Actually, I just tried it with xmllint. >> --dtdvalid doesn't inject the referenced dtd into the doc so entities >> aren't "copied over", its pure validation against the dtd :( >> >> Rob: You wouldn't happen to know of any neat "workarounds" for that? >> >> >> > > I just cant find any decent way to do this. Using that flag just causes > xmllint to build then doc and then do a validation against the DTD. There is > no function to allow an external DTD to be passed to the parser while the > document is built, which is where it's needed. I'll still poke around a bit > to see if there is any other way to get it to work, but not holding my > breath. >
Thanks for looking into it atleast :] -Hannes