• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

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
[email protected]
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.


 
reply
    Bookmark Topic Watch Topic
  • New Topic