Deprecate XMLReader
variant of DocumentFactory.createDocument
, add setXMLReader
#71
Labels
Milestone
XMLReader
variant of DocumentFactory.createDocument
, add setXMLReader
#71
Interface
DocumentFactory
in thedom
module has the following method variant:echosvg/echosvg-dom/src/main/java/io/sf/carte/echosvg/dom/util/DocumentFactory.java
Line 80 in a42e24d
which is confusing because only allows the usage of the
XMLReader
via the document URI retrieval.That method should be deprecated, and instead a new
setXMLReader(XMLReader)
could be added. That way, one can specify anXMLReader
to be used by the factory, regardless of the chosen input variant (stream, reader or URI retrieval).The text was updated successfully, but these errors were encountered: