Results 1 to 5 of 5
  1. #1
    Seanryano is offline Member
    Join Date
    Oct 2011
    Posts
    2
    Rep Power
    0

    Default Java method for XML validate

    Hi, I am looking for a java method which takes a String as XML. Then I simply want to validate is as valid XML.

    Thanks in advance

  2. #2
    eRaaaa is offline Senior Member
    Join Date
    Oct 2010
    Location
    Germany
    Posts
    787
    Rep Power
    5

    Default Re: Java method for XML validate

    in the form of validation against a schema(xsd or so) or only if it is generally a valid xml?

    Introduction to JAXP - Java API for XML Processing (JAXP) Tutorial

  3. #3
    Seanryano is offline Member
    Join Date
    Oct 2011
    Posts
    2
    Rep Power
    0

    Default Re: Java method for XML validate

    I just want to validate xml, I don't want any schema.

  4. #4
    yshakraj is offline Member
    Join Date
    Nov 2011
    Posts
    1
    Rep Power
    0

    Default Re: Java method for XML validate

    hi,
    i need to validate the xml against the xsd ,i tried the jaxp . But the issue is my schema is an old one like
    1999,2000 schema, is there any way for me to validate the xml against an xsd having schema refers to the 1999/2000.
    Thanks in advance,
    yshak

  5. #5
    aasmunds is offline Member
    Join Date
    Nov 2011
    Posts
    4
    Rep Power
    0

    Default Re: Java method for XML validate

    maybe domforj is good enough for this.

Similar Threads

  1. can someone validate my code?
    By alacn in forum New To Java
    Replies: 6
    Last Post: 08-08-2010, 03:18 AM
  2. How do I validate user input from forms with Java?
    By rickywh in forum New To Java
    Replies: 2
    Last Post: 01-30-2010, 06:49 AM
  3. validate between int and double
    By heartysnowy in forum New To Java
    Replies: 4
    Last Post: 10-05-2009, 07:15 PM
  4. Validate a Zip file with java
    By peuplier in forum Advanced Java
    Replies: 1
    Last Post: 07-10-2009, 10:07 PM
  5. Replies: 7
    Last Post: 05-23-2008, 03:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •