Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Validating against a schema using the DocumentBuilderFactory  RSS feed

 
jason adam
Chicken Farmer ()
Ranch Hand
Posts: 1932
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I setValidating( true ), is there a way to have this validate against a schema instead of requiring a DTD defined in a DOCTYPE header? Or should we be using a DOMParser instead and set the features? I have a feeling the latter is the way to go.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!