Recent Changes - Search:

About

Users

Internal

Other Info (External)

edit SideBar

000032-Notes

In the DoTemporalValidate.validate() module, the steps are to create a representational schema and then validate the input Temporal Document against that schema. However, this is not working... the error message is given below.

 [Error] RepresentationalSchema.xsd:9:40: src-resolve.4.1: Error resolving component 'personData'. It was detected that 'personData' has no namespace, but components with no target namespace are not referenceable from schema document 'file:///Users/doofus/Documents/workspace/tXSchema/src/test_cases/myRun1/RepresentationalSchema.xsd'. If 'personData' is intended to have a namespace, perhaps a prefix needs to be provided. If it is intended that 'personData' has no namespace, then an 'import' without a "namespace" attribute should be added to 'file:///Users/doofus/Documents/workspace/tXSchema/src/test_cases/myRun1/RepresentationalSchema.xsd'.
 [Error] TempData_1.xml:1:134: cvc-elt.1: Cannot find the declaration of element 'tv_root'.

It appears that something is wrong with the schema itself. How I currently understand it, this is the process:

1. Use squash to create a Temporal Document A.
2. The DoTemporalValidat.validate() routine calls doSchemaMapping.createRepresentationalSchema() routine to create the representational schema B.
3. The ConventionalParser class is then supposed to validate A against B. This is where the problem lies.

At this point, I'm not sure if there's a problem with step 1 or 2 above. More investigation is needed.

Edit - History - Print - Recent Changes - Search
Page last modified on June 22, 2008, at 07:20 PM