billroper: (Default)
[personal profile] billroper
I have been pulling my hair out trying to figure out why my XML reading code is misbehaving. I fix it in one place and it all works fine. Then I go to another project and the same code fails.

Today, I managed to convince myself (correctly) that the nice new unit tests that I wrote work in one environment, but not in the other. This is not a happy situation.

It turns out that my XML reading code that was "working" was only working because I had hacked it to work with an underlying XML reading JAR that was broken. With a correct version of an XML reading JAR, the hacked version won't work. You have to have the *correct* code on my side to make it work.

But, of course, the *correct* code will not work with the broken JAR.

I have given up and changed my XML reading code so it no longer uses the broken method in the broken JAR.

And now it works no matter which set of JARs gets loaded.

Blort.

All this talk of JARs is making me hungry. Maybe a jar of strawberry jam and some fresh rolls can be found. Or something like that.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

Profile

billroper: (Default)
billroper

January 2026

S M T W T F S
     1 2 3
4 5678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 6th, 2026 08:14 am
Powered by Dreamwidth Studios