/** * Tests XML marshalling using the format derived form ISO 19115:2014 model. * This method also tests usage of {@code gml:id} and {@code xlink:href}. * * @throws JAXBException if an error occurred during marshalling. * * @since 1.0 */ @Test public void testMarshalling() throws JAXBException { testMarshalling(XML2016+FILENAME, VERSION_2014); }
/** * Tests XML marshalling using the format derived form ISO 19115:2003 model. * This method also tests usage of {@code gml:id} and {@code xlink:href}. * * @throws JAXBException if an error occurred during marshalling. * * @since 0.7 */ @Test @DependsOnMethod("testMarshalling") public void testMarshallingLegacy() throws JAXBException { testMarshalling(XML2007+FILENAME, VERSION_2007); }