Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
XML
How to programatically assign a validating schema using Xerces?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Duncan Smith, post: 770331"] Hello All, Has anyone found a way to specify an xsd schema programatically when using the apache xerces xml processor? I know that the validation works fine as long as the xml instance document explicitly refernces the schema via an 'xsd:xsi schemaLocation=...' tab. But how can you validate xml documents which don't contain the schemaLocation? Reading the instance and assigning the schemaLocation before flushing it back out and reading it back works, but is such bad practice and wasteful that it's not really worth considering. MSXML has a simple validateOnParse and Schema Location properties which can be set when parsing an instance. I was hoping there would something similar in Xerces? Thanks for any furher info.. Duncan [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
XML
How to programatically assign a validating schema using Xerces?
Top