users@jaxb.java.net

Setting xmlns schema urls, How?

From: Andrew Hughes <azza_at_lisasoft.com>
Date: Wed, 07 Jun 2006 10:43:59 +0930
Hey All,

When I am mashalling my Java Objects to XML, I end up with some xmls that are now pointing to dead urls because the outside world has moved them (Grrrrrr).

Examples:
We need this working for validation and I would like to know how I can change the xmlns target url's. I can't see anything in the classes I have created during the bind operation. Is this fixed during the bind? or can I override this somehow in jaxb?
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<BLAH version="1.1.1" xmlns:ns2="http://www.brokenurl.com/missing" xmlns="http://www.missingurl.com/broken">
	.............
</BLAH>
  

Help would be greatly appreciated!


Thanks

-AH