Showing posts with label dtd. Show all posts
Showing posts with label dtd. Show all posts

Tuesday, 1 September 2009

DTD parser solved...

After I wrote the previous entry, one of my ex-colleagues pinged my to point me in the direction of Oracles XML package. A quick look at the web site shows that it probably has everything I needed except one thing ... a compatible license. So I had to continue on to write my own which I have now completed!

The 0.1 version of it is running now in my development environment and I am feeling pretty okay about it. Not too bulky and quite fast. I must admit that until now I was blissfully unaware of the intracasies of DTD files. My parser is a schema metadata extraction tool, not a validating instance parser. I have used that fact to cut a few corners in my implementation.

Now of to look at Jersey ....

Friday, 14 August 2009

Wot no DTD parser ???

I cannot find a Java-based DTD parser and I cannot believe it! Of course there are parsers out there but none that seem to be able to deal with my usecase or the example DTDs that I need to process! I have tried a bunch:
But none of those worked for me on these DTD's. So off to write one I guess. Oh well I must be going and I might be a while ;) ....