[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlbeans-user
Subject: Set line number of XmlError?
From: Me Self <wmsopou () gmail ! com>
Date: 2010-09-24 6:10:15
Message-ID: AANLkTikMNqp+ykYT3Wuyubro7OrmvEyswLmtKcW=rr7b () mail ! gmail ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic