[ 
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-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to