People,
suppose I have the following XML:
<?xml version='1.0' encoding='UTF-8'?>
<Address xmlns="http://ws.apache.org/jaxme/examples/misc/address
">
<Name>
<First>AAA</First>
<Middle>BBB</Middle>
<Middle>CCC</Middle>
<Last>DDD</Last>
<Initials>ABCD</Initials>
</Name>
</Address>
and my XSD specifies the <First> tag is required. But, I submit the following URL to JaxMe:
<?xml version='1.0' encoding='UTF-8'?>
<Address xmlns="http://ws.apache.org/jaxme/examples/misc/address">
<Name>
<Middle>BBB</Middle>
<Middle>CCC</Middle>
<Last>DDD</Last>
<Initials>ABCD</Initials>
</Name>
</Address>
Not the xml above doesn't have the <First> tag. How can I show the user a message like "The <First> tag is required"? I have to do that by implementing the
ValidationEventHandler interface and using the ValidationEventLocator object?
Thanks a lot,
--
------------------------------------------------------------------------
Rafael Naufal
"The great pleasure in life is doing what people say you cannot do"
blog: http://rnaufal.livejournal.com
------------------------------------------------------------------------
- How can I display the missing fields of a xml? Rafael Naufal
- Re: How can I display the missing fields of a xml? Jochen Wiedmann
- Re: How can I display the missing fields of a xml... Rafael Naufal
- Re: How can I display the missing fields of a... Jochen Wiedmann