Arabica: namespace handling bug

Bug report this morning from Mark D. Anderson,

with input of:

<stuff:Blah name="test" xmlns:stuff="http://stuff.org/"/>

the Attr object for name returns true for hasNamespaceURI(), yet the value of getNamespaceURI() is the empty string.

This is inconsistent; an empty namespace is illegal.

Well it’s wrong because name isn’t namespaced anyway. Now fixed.

There’s also an outstanding build bug when using gcc3.3, which is the out-of-the-box compiler for OSX. I now have an account on gnu-darwin.org and on my chum Pete’s OSX box, so should have that squashed shortly. I’ll drop a new release then.

On the XPath side, I’ve been fiddling around with numbers and strings and whatnot, which is fine, but kind of dodging the issue. Well, I’m dodging no longer - last night I did a bit of scaffolding for Steps. Yep, selecting nodes is on the way.


Tagged code, arabica, xml, and c++


Jez Higgins

Freelance software grandad
software created
extended or repaired


Jez Higgins

Freelance software grandad
software created
extended or repaired


Jez Higgins

Freelance software grandad
software created
extended or repaired



Jez Higgins

Freelance software grandad
software created
extended or repaired


Jez Higgins

Freelance software grandad
software created
extended or repaired


Jez Higgins

Freelance software grandad
software created
extended or repaired