This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in applying restriction on xml attribute jaxb i.e. unable to do validation for attributes

 
ganesh b pol
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my xsd file is



here i have applied restriction on port attribute

my xml file is



first element is with invalid port number i.e. 90009

when i am parsing this xml file with JAXB
i am unable to get any error
code for parsing XML file is




 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic