You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/11/07 14:12:00 UTC

[jira] [Commented] (ARIES-1853) SAXParseException in transaction.xml because of uneven number of schemaLocation URI

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

ASF subversion and git services commented on ARIES-1853:
--------------------------------------------------------

Commit 1846024 from ggrzybek@apache.org in branch 'aries/trunk'
[ https://svn.apache.org/r1846024 ]

[ARIES-1853] Remove invalid xsi:schemaLocation attribute

> SAXParseException in transaction.xml because of uneven number of schemaLocation URI
> -----------------------------------------------------------------------------------
>
>                 Key: ARIES-1853
>                 URL: https://issues.apache.org/jira/browse/ARIES-1853
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>    Affects Versions: transaction-blueprint-2.2.0
>            Reporter: Volker Althaus
>            Priority: Trivial
>
> I am using the bundle org.apache.aries.transaction.blueprint-2.2.0.jar in a Karaf 4.2.1 environment. I get several warnings in the log file because the schemaLocation value of OSGI-INF/transaction.xml has an uneven number. Does not affect the bundle start, but these warnings should be avoided.
> org.xml.sax.SAXParseException: SchemaLocation: schemaLocation-Wert = 'http://www.osgi.org/xmlns/blueprint/v1.0.0' muss eine gerade Anzahl an URIs haben.
> 	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203) ~[?:?]
> 	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.warning(ErrorHandlerWrapper.java:99) [?:?]
> 	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:392) [?:?]
> 	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327) [?:?]
> 	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:284) [?:?]
> 	at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:452) [?:?]
> 	at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.storeLocations(XMLSchemaValidator.java:2347) [?:?]
> 	at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1754) [?:?]
> 	at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:740) [?:?]
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:374) [?:?]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)