* {@link Marshaller#JAXB_SCHEMA_LOCATION}.</p>
*/
public void testSchemaLocation() throws Exception {
String s = getAllTypesElementString(true, false);
JAXBContext context = getFactory();
AllTypesElement e = (AllTypesElement) context.createUnmarshaller().unmarshal(new InputSource(new StringReader(s)));
StringWriter sw = new StringWriter();
Marshaller marshaller = context.createMarshaller();
marshaller.setProperty(Marshaller.JAXB_SCHEMA_LOCATION, "foo.xsd");
marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.FALSE);
marshaller.setProperty(Marshaller.JAXB_ENCODING, "ASCII");