I have written an XML schema validation and if I run it by itself, it validates the schema fine.
But I want to use Hibernate to modify the records and put the error messages in the database. When I modify my validating parser to use hibernate, my parser claims that my XML is not well-formed.
I am guessing that since hibernate uses SAX to parse its own mapping classes, it loads some classes from SAX and sets some static variable (for example, encoding type) before get to my code and that breaks my parser.
Any help will be appreciated. This, surprisingly, works under win-doze and only breaks under unix (AIX).
Thanks,
-ramin
Hibernate version: 2.1
|