This path has to be able to work as a URL in a browser. **Note: ** The noNameSpaceSchemaLocation value is a URI. To make the Pointbuffers.xml file reference the Pointbuffers.xsd file for validation I made the following modifications to its header: ![]() Note that Notepad++ could know that it is working with an XSD file, and give a better hint about how to make validate work. The modifications I made to the Pointbuffers.xsd header enable Notepad++ to successfully validate follow: If you install the XML tools plugin, Notepad++ will give you a hint about how to make the XML file reference the local XSD file, but that hint is incomplete. The problem was now how to get the XML file to reference the XSD file (in the same folder) so Notepad++ can validate the file, and to get the XSD file to reference the standard schema templates to that Notepad++ can validate the schema. Then I created a Pointbuffers.xsd file that could be used to evaluate the XML file: My initial idea for the Pointbuffers.xml file to hold this data follows: Each point buffer has a name, a count of the number of points it contains, and a list of the x, y and z coordinates of all the points in the point buffer. My problem is to create an XML file containing one or more “point buffers”, clouds of points to be used in a geometry program to create a line, circle, cone, plane, etc. ![]() Hopefully, these files will be of assistance. I was able to solve the problem, and I am posting my files below. After lots of searching and reading, I found that lots of people are having this problem, and that there aren’t any posts that lead to a useful solution. I thought I Notepad++ would be able to help me evaluate the XML with the XSD, and the XSD with the W3 XSD schema quickly. The test cases would be stored on my local hard drive, and the schema design would be very simple. ![]() I wanted to use XML files to store test cases for a little development project I am doing for fun.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |