• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to write Custom validations on XSD validations

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I have seen many posts with the same problem but there is no post pointed me to the exactly how to customize the XSD validations.

Can any one point me to attemt to writting custom validations instead of XML validator messages.

Validation message coming from XML validator 'The value '4' of element 'Status' is not valid.' is not meaningfull to the enduser.
I want give message like 'Status value should be either 0 or 1'. here message conveys the allowable characters such a way that user can correct the value but it is not possible through XML validator, XML validator only talks about the current tag value but not the allowable characters.
How can i move forward to fix this issue

Any Suggestions or pointing to Links or workarounds are greatly appreciated.


Thanks in Advance

Cheers
Dorairaj M
 
Dorairaj Clinapps
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can any look into this. I think this is common problem to all, i am Wondering if this problem has no solution.

Thanks
Dorairaj
 
Would you like to try a free sample? Today we are featuring tiny ads:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic