ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <erlend.bjo...@aftenposten.no>
Subject SV: SAXParseException, parsing the sqlMap-config.xml file!
Date Fri, 08 Jul 2005 08:05:24 GMT
Hi there!

>Apparently you have an element type that is not in proper order with the DTD.

You are right, after downloaded the JEdit (thanks for the tip) with the xml 
parser plugin, tested with the sqlMap-config file from the sqlMap pdf file ... 
I found out it was the order. I had it like this: 


It should have been:


Yes  !!!!!!!!!!!!!


This problem started without my knowlegde for 1 month ago when I moved the typeAlias from
the sql xml files to the sqlMap config file ... But didn't get any error messages then,
so it seems to be cached somewhere in IntelliJ for me with out my knowlegde. But did a lot
of refactoring of the alias... Strange that it's still cached somewhere.

So that's why I though it was something else, but as usual you should trust the error messages
In away I did understand the error message, but couldn't beleive it :-)


>Check your sql map config and make sure your elements are properly ordered.

Is there an reason why typeAlias should be first ? I found it more correct it 
should be after... But maybe because you can use typeAlias to more then just
classes ??

Take care and thanks alot of 
clues to find the error!


View raw message