• 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
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

validation

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
currently is there any Java API that will validate an XML file against an XML Schema?
 
Ranch Hand
Posts: 395
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I think Java Architecture for XML Binding (JAXB) will be useful. But I am not sure how far it is Schema Validation. Because when you use this, it validates the XML file against the Schema which is a DTD. If the XML doesn't bind to the DTD provided the the Java files are not at all created.
In the later versions of this, other Schema languages are supported.(yet to be released.
Thanks.

------------------
L Goundalkar
lggoundalkar@hotmail.com
Sun Certified Programmer for Java 2 Platform
 
Rob Bass
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We are working on a very large scale program, there is no way we can justify telling client that the heart of the program will be in an early release API that does not support XML Schemas.
I think Xerces 1.42 support XML Schema validation?

Originally posted by L Goundalkar:
Hi,
I think Java Architecture for XML Binding (JAXB) will be useful. But I am not sure how far it is Schema Validation. Because when you use this, it validates the XML file against the Schema which is a DTD. If the XML doesn't bind to the DTD provided the the Java files are not at all created.
In the later versions of this, other Schema languages are supported.(yet to be released.
Thanks.


 
I guess I've been abducted by space aliens. So unprofessional. They tried to probe me with this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic