uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Burn Lewis (JIRA)" <...@uima.apache.org>
Subject [jira] [Commented] (UIMA-5177) NPEs occur if Saxon9 is in the classpath
Date Thu, 10 Nov 2016 14:26:58 GMT

    [ https://issues.apache.org/jira/browse/UIMA-5177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15654175#comment-15654175
] 

Burn Lewis commented on UIMA-5177:
----------------------------------

Spec says that the the startElement arguments localName and qName can be omitted by providing
an empty string (nulls are accepted by the XML parser in the JRE but not by the Saxon one.)
 Also the same requirement holds for the Attribute values.  Saxon also fails if only one of
these args is pruvidedt, i.e. if a qualified name is provided then a local name must also
be provided.  These changes have been made.

The uimaj-test-util's pom has a commented-out dependency on Saxon9 ... when this dependency
is active many JUnit tests fail.   Some failures are just formatting (indenting by 3 instead
of 4) but others are more serious (e.g. namespaces omitted.)  More work has to be done before
UIMA & UIMA-AS can use the Saxon parser.

> NPEs occur if Saxon9 is in the classpath
> ----------------------------------------
>
>                 Key: UIMA-5177
>                 URL: https://issues.apache.org/jira/browse/UIMA-5177
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>            Reporter: Burn Lewis
>            Assignee: Burn Lewis
>            Priority: Minor
>             Fix For: 2.9.1SDK
>
>
> The SAX startElement method and its attributes must use an empty string and not a null
when the localName or qName is not provided.
> Found in UIMA-5126



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message