You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Me Self <wm...@gmail.com> on 2010/09/24 08:10:15 UTC
Set line number of XmlError?
After schema validating an XML instance loaded from disk I would like
to perform some extra programmatic validations not covered by the XML
schema. For the extra validation I hope to re-use xmlbeans XmlError
and XmlException. However if I create an XmlError using:
XmlError.forObject(message,XmlObject);
..then when I print the error the message contains no line number. I
tried experimenting with XmlValidationError instead passing a
XmlCursor to the factory method but that didn't help either. How do I
set the line number of the error when all I have is the XmlObject or
parent XmlObject?
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org