Xerces XML issues?

2 views
Skip to first unread message

Tobias Horsmann

unread,
May 1, 2018, 8:10:38 AM5/1/18
to dkpro-tc-dev

Hi,


I noticed following warnings on the command line. This seems to be uncritical in general but origins according to Google in a Xerces jar. I can't find this jar in the dependency hierarchy so I am wondering where this finds it origin and whether it can be fixed without much effort?


Warning:  org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.

Compiler-Warnungen:

  WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' 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.

Warning:  org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.

Richard Eckart de Castilho

unread,
May 2, 2018, 4:04:31 AM5/2/18
to dkpro-...@googlegroups.com
The latest UIMA SDK tries disabling some features of the XML parser for
security reasons. If the parser does not support the properties controlling
these features, you get these warnings.

I believe using a recent SDK and ensuring that no old/other XML libraries are
on the classpath should remove the warnings.

-- Richard
> --
> You received this message because you are subscribed to the Google Groups "dkpro-tc-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to dkpro-tc-dev...@googlegroups.com.
> To post to this group, send email to dkpro-...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages