Validate Now, not able to validate XML against schema
-
I have installed XML Tools and when I go to Plugins, Validate Now I get "Following error occurred during schema file parsing: Failed to locate the main schema resource 'ShowRepairOrder.xsd;. According to everything that I have read it should pop-up a box where I can select the schema .xsd file to compare the xml to, but I am not getting that. I have removed the XML Tools and reinstalled and I am still having the same issues. Can anyone help me with this?
-
You might want to see if my reply in Need to load XSD helps, because it sounds similar to those events.
Specifically, I think my conclusion that I drew from those experiments, “…that XML Tools will only ask you for the schema location if it’s not embedded in the XML itself; if it is embedded, it will automatically use the one it finds”, applies to your situation as well. It’s not prompting you because you specify it; it doesn’t seem to know that if it cannot find the specified one, it should also prompt.
I believe that when it doesn’t find the specified, it should prompt for location, rather than just giving an error, so I have added a bug report to what appears to be the GitHub home for the XML Tools plugin: issue #11
Update Feb 25, 2020: issue #11 has been closed; the problem is fixed as of XML Tools v3.0.3.2
-
Thanks for the reply. I ended up figuring it out after talking to a co-worker that uses XML Spy. I put the XML and .xsd files in the same folder and it validated. We then found the issue with the file.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login