Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Java only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
Java
XML validation
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
neerajchoudhary10
New Member
Join Date:
Jan 2009
Posts:
1
#1
XML validation
Jan 21 '09, 07:31 AM
how to validate XMl injava
JosAH
Recognized Expert
MVP
Join Date:
Mar 2007
Posts:
11453
#2
Jan 21 '09, 09:15 AM
Originally posted by
neerajchoudhary 10
how to validate XMl injava
If you're using SAX parsers you can make the SAXParserFactor y create validating parsers. Read the API documentation.
kind regards,
Jos
Comment
Post
Cancel
jkmyoung
Recognized Expert
Top Contributor
Join Date:
Mar 2006
Posts:
2057
#3
Jan 21 '09, 06:16 PM
What is your main task? Is it to simply validate the xml? If so I would recommend using a SAX parser. If you plan to do more modifications of the xml after verifcation and searching of the xml I recommend a DOM parser.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment