kwin commented on code in PR #187:
URL: https://github.com/apache/maven-doxia/pull/187#discussion_r1438543745


##########
doxia-core/src/test/java/org/apache/maven/doxia/xsd/AbstractXmlValidator.java:
##########
@@ -157,8 +161,17 @@ protected void setValidate(boolean validate) {
     private XMLReader getXMLReader() {
         if (xmlReader == null) {
             try {
-                xmlReader = 
XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");
+                SAXParserFactory parserFactory = 
SAXParserFactory.newInstance();

Review Comment:
   Is it possible to shared the same method in AbstractXmlValidator and 
XmlValidator somehow? It seems the same features need to be enabled here.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to