You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by "Andreas Beeker (Jira)" <ji...@apache.org> on 2021/07/11 22:06:00 UTC
[jira] [Closed] (XMLBEANS-535) Error line number always -1 for XML
validation errors
[ https://issues.apache.org/jira/browse/XMLBEANS-535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Beeker closed XMLBEANS-535.
-----------------------------------
> Error line number always -1 for XML validation errors
> ------------------------------------------------------
>
> Key: XMLBEANS-535
> URL: https://issues.apache.org/jira/browse/XMLBEANS-535
> Project: XMLBeans
> Issue Type: Bug
> Components: XmlObject
> Affects Versions: Version 3.0.1
> Reporter: Paola Bonini
> Assignee: Andreas Beeker
> Priority: Major
> Fix For: Version 5.0.1
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> After upgrading to xmlbeans 3.0.1 the validation of an XML document returns always -1 as line number of detected XML errors.
> I execute validation calling XmlObject.validate(XmlOptions), where XmlOptions class has this settings:
> setLoadLineNumbers()
> setSavePrettyPrint()
> setErrorListener()
> The same code works correctly returning the line number of detected XML validation errors using xmlbeans 2.3.0.
> Is there a way to get the correct line for XML validation error salso in 3.0.1 version?
> Regards,
> Paola
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org