Hi All!

I'm using XMLBeans to validate xsd schemas, according to specified
rules.
I need to implement the feature to show where the user can find
exception.

I'm trying to get file name using SchemaType.getSourceName() method.

As I have understood, I have the result converted by QNameHelper.java
class.

Is it possible to ease decode it? Is there any helper methods to do it?

And, finally:

Is it possible to see some "stack" of imports, includes? For example I
open a.xsd for validation, it imports b.xsd. Then b.xsd imports c.xsd
and c.xsd includes d.xsd which contain an exception.
The best would be the result: a.xsd -> b.xsd -> c.xsd -> d.xsd, for now
I can just show a.xsd -> d.xsd, by getting path of
property.getContainerType().getSourceName, where property is validating
property or type.getSourceName if I validate a type.

Thanks a lot.

Regards,
Denis.
Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.
        
E-mails are not encrypted and cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses.  The sender 
therefore does not accept liability for any errors or omissions in the 
contents of this message which arise as a result of e-mail transmission.  
If verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities 
or related financial instruments.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to