[Week 29]
I managed to parse some XML schema files with XSOM, produce a tree and XPath expressions this week so decided it was good time to meet with MOC again.
He informed me that the tree I was producing was not fully correct for the XML schema I was using. Therefore I need to look at my parsing method again and adapt it correctly. If the tree is incorrect then it will produce incorrect XPath expressions. Therefore it is critical that I get this method correct.
We did discuss the next stages in detail and Martin has written code to insert XML documents into a relational database in a specialised way. He also has code to query the relational database. As part of my project specification I do not insert any data into a relational database. I do, however query it. Therefore I will use his Index Builder program to insert some XML documents into the database and integrate his query program with mine so that the XPath expressions produced from my program can be used to query the data.
I have arranged a meeting with MR for Thursday this coming week to go over the project so my next post will discuss how the integration of Martin's code went and the outcome of the meeting with MR.
Showing posts with label xsom. Show all posts
Showing posts with label xsom. Show all posts
Sunday, May 3, 2009
Sunday, April 19, 2009
Hello to XSOM, bye to Apache XML Schema
[Week 27]
I got a recommendation from a classmate to use XML Schema Object Model (XSOM) for the XML Schema parsing. I've looked into this and I'm glad to say after a few hours of studying the schema and search mailing list archives I'm managing to extract information from files.
I've am now moving on to try and build the tree to visually represent the XML schema.
I had a meeting with MOC on Thursday discussing the general progress of the project and the fact that I'm behind schedule. He encouraged me to continue working on getting the tree built so that a user may then build XPath expressions using my GUI. Once I have this working he suggested that we arrange another meeting to plan the next steps.
This sounds promising so hopefully I can get a fairly generic parsing process in place and the tree working soon.
I got a recommendation from a classmate to use XML Schema Object Model (XSOM) for the XML Schema parsing. I've looked into this and I'm glad to say after a few hours of studying the schema and search mailing list archives I'm managing to extract information from files.
I've am now moving on to try and build the tree to visually represent the XML schema.
I had a meeting with MOC on Thursday discussing the general progress of the project and the fact that I'm behind schedule. He encouraged me to continue working on getting the tree built so that a user may then build XPath expressions using my GUI. Once I have this working he suggested that we arrange another meeting to plan the next steps.
This sounds promising so hopefully I can get a fairly generic parsing process in place and the tree working soon.
Labels:
api,
research,
xml schema,
xsom
Subscribe to:
Posts (Atom)