我们将应用程序升级到Java8和Xerces 2.8版本,我们收到以下警告:
Warning: org.apache.xerces.parsers.SAXParser: Feature 'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.
Warning: org.apache.xerces.parsers.SAXParser: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
Warning: org.apache.xerces.parsers.SAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
请告诉我们为什么会收到此警告?
跳过此属性/警告有什么影响?
如果出现以下警告,“entityExpansionLimit”和“accessExternalDTD”的值是多少?它是默认值还是null?
答案 0 :(得分:0)
应用程序将运行:
"-Djava.endorsed.dirs=C:\WorkAxis\AxisTest\endorsed"
和目录C:\WorkAxis\AxisTest\endorsed
包含以下文件:
xalan-2.7.2.jar;
serializer-2.7.2.jar;
xml-apis-1.4.01.jar;
xercesImpl-2.11.0.jar;