Is it possible to make JiBX throw a runtime exception when an unknown 
attribute is encountered? I could only find references to the handling of 
unknown elements in the docs, not attributes, and the default behaviour 
seems to be to not complain about unknown attributes.

I'd like to have an automatic way of detecting unexpected changes to the 
formats of my xml files (they come in ~30 different flavours), and aborting 
on unknown attributes seems to be the missing part of the puzzle. I suppose 
schema validation would be the obvious way to go, but I don't have schemas 
for the data so I'd like to avoid that if possible.

Thanks in advance,
Lennart

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to