o Fixed compliance with StAX-API (not all impls accept strings for properties of type Boolean)

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@713172 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2008-11-11 21:14:02 +00:00
parent 07fb543422
commit 14ef7d204e
1 changed files with 2 additions and 2 deletions

View File

@ -77,8 +77,8 @@ public final class ModelMarshaller
List<ModelProperty> modelProperties = new ArrayList<ModelProperty>();
XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance();
xmlInputFactory.setProperty(XMLInputFactory.IS_REPLACING_ENTITY_REFERENCES, "false");
xmlInputFactory.setProperty(XMLInputFactory.IS_NAMESPACE_AWARE, "false");
xmlInputFactory.setProperty( XMLInputFactory.IS_REPLACING_ENTITY_REFERENCES, Boolean.FALSE );
xmlInputFactory.setProperty( XMLInputFactory.IS_NAMESPACE_AWARE, Boolean.FALSE );
Uri uri = new Uri( baseUri );
String tagName = baseUri;