You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Roger Whitcomb (JIRA)" <ji...@apache.org> on 2012/11/05 18:18:12 UTC

[jira] [Resolved] (PIVOT-536) BXMLSerializer should provide a structure error object when a serializer error occurs

     [ https://issues.apache.org/jira/browse/PIVOT-536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Whitcomb resolved PIVOT-536.
----------------------------------

    Resolution: Fixed

[trunk]
Sending        core\src\org\apache\pivot\beans\BXMLSerializer.java
Transmitting file data .
Committed revision 1405882.

[branches/2.0.x]
Sending        .
Sending        core\src\org\apache\pivot\beans\BXMLSerializer.java
Transmitting file data .
Committed revision 1405883.
                
> BXMLSerializer should provide a structure error object when a serializer error occurs
> -------------------------------------------------------------------------------------
>
>                 Key: PIVOT-536
>                 URL: https://issues.apache.org/jira/browse/PIVOT-536
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>            Reporter: Appddevvv
>            Assignee: Roger Whitcomb
>            Priority: Trivial
>             Fix For: 2.0.3
>
>
> When an error occurs in the serializer, logException() is typically called. The error message, line number and other information is typically not available for use by tooling.  WTKXSerializer should provide a structured object with the error information in it e.g. the line number.
> I don't have a patch for this but I think a simple error object and a property accessor would be all that's needed. The error object could be accessed as part of exception handling.
> I came across when writing pivotpad (xamlpad like tool) and wanted to highlight the error in the bxml text.
> This improvement is  targeted towards tooling support and has no other apparent use.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira