mirror of https://github.com/apache/maven.git
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:
parent
07fb543422
commit
14ef7d204e
|
@ -77,8 +77,8 @@ public final class ModelMarshaller
|
||||||
|
|
||||||
List<ModelProperty> modelProperties = new ArrayList<ModelProperty>();
|
List<ModelProperty> modelProperties = new ArrayList<ModelProperty>();
|
||||||
XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance();
|
XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance();
|
||||||
xmlInputFactory.setProperty(XMLInputFactory.IS_REPLACING_ENTITY_REFERENCES, "false");
|
xmlInputFactory.setProperty( XMLInputFactory.IS_REPLACING_ENTITY_REFERENCES, Boolean.FALSE );
|
||||||
xmlInputFactory.setProperty(XMLInputFactory.IS_NAMESPACE_AWARE, "false");
|
xmlInputFactory.setProperty( XMLInputFactory.IS_NAMESPACE_AWARE, Boolean.FALSE );
|
||||||
|
|
||||||
Uri uri = new Uri( baseUri );
|
Uri uri = new Uri( baseUri );
|
||||||
String tagName = baseUri;
|
String tagName = baseUri;
|
||||||
|
|
Loading…
Reference in New Issue