I have some code using libxml2's SAX2 interface. I want to be able to see < type entities as entity references and not as characters but it appears that no matter what I do, libxml2 will turn <
into a < and then hand it to my characters callback instead of calling my reference callback.
Any ideas as to how I can force libxml2 to call my reference callback for the basic predefined entities?