Programming Homework Help

Programming Homework Help. Java and XML.

A java program for both front and back ends. Which should come out as a desktop application for windows mainly and if possible other operating systems.

Functional requirements:

  • Upload XML file. (if not, XML error message appears)
  • Upload XML Schema schema file (XSD). (if not, XSD file error message appears)
  • Parse the XML file with DOM parser using level 2 DOM API.
  • Validate the XML file against the XSD file using the same parser.
  • Visualise a post schema validation infoset (PSVI) as a tree.
  • A safe button for the Tree image should be there.
  • An event listener should show the path of the node the mouse pointing at.
  • A go back to beginning button must be included.
  • The program should come out as a desktop application.
  • If valid a message appears “XML Valid w.r.t the XSD”.
  • If not If valid a message appears “XML NOT Valid w.r.t the XSD”
  • Each node attributes should be mentioned in the PSVI tree.
  • If a node is not valid this should be clear to the user using colours of shapes!

Non-functional requirements:

  • The style of the tree should be modern, and if possible, the user should be able to choose from 2 or 3 different preferences of the style.
  • The Tree graph should be a simple directed graph.
  • For visualisation use XGraph API. (If not possible please give an explanation?)
  • A limit of 100 nodes in the tree should be applied (as the program is for students use only!).
  • Collapsed tree nodes should be provided to shorten the tree.
  • The program should use one frame if possible.
  • Font size should be 12 or more. However, the type of the font does not need to be specified.

Please use test cases where XSD have default values appears in some of the PSVI tree nodes. Screen shoot your trials and give the original testing files you used for testing the code.

Programming Homework Help

 
"Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!"