Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I am looking for a simple way to do the following. I want to be able to upload an xml document to a public website. I want that website to parse the xml document, and ensure it is well formed. I then want it to see if there are any schemaLocation elements in the document, and validate the document against those XSD schemas.

I find it hard to believe such a site does not exist.

share|improve this question
1  
Is the official W3C validator (w3.org/2001/03/webdata/xsv) insufficient? –  Al E. Sep 24 '10 at 16:43
    
That one checks schemas. I want to validata an xml document against a schema. –  Justin Dearing Sep 25 '10 at 1:57
add comment

1 Answer

I haven't tried it, but this looks like it does what you're looking for:

http://www.corefiling.com/opensource/schemaValidate.html

share|improve this answer
    
I've seen that one. The problem with that one is it does not look for schemaLocation attributes in the document and parse against them. Its useful, but awkward for my needs. –  Justin Dearing Sep 25 '10 at 2:38
    
I hear ya. I read this on there and thought that would take care of your needs: 'An attempt will be made to fetch any referenced schema from the Internet if the supplied schema is not sufficient for validation'. I should probably try a tool before I go recommending it. –  Mark Drago Sep 27 '10 at 19:36
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.