users@jaxb.java.net

getNamespaceURI

From: Nicolas Pujol <nicolaspujol_at_yahoo.com>
Date: Thu, 31 Aug 2006 08:45:20 -0700 (PDT)

In JAXB 1.0,

Is there a way to get the url/name of the original xml's schema reference (i.e. xsi:noNamespaceSchemaLocation) ?

This is so I can do some version control of the passed in xml...In my case, the schema/jaxb classes have changed a bit but still parse the old xml docs ok. I want to be able to detect that the passed in xml is from an older version. I have alternatives now, but I was looking for a less intrusive way.

Nicolas

                 
---------------------------------
Get your email and more, right on the new Yahoo.com