US and Worldwide: +1 (866) 660-7555
Results 1 to 2 of 2

Thread: validate xml schema generated manually

  1. #1
    Join Date
    May 2014
    Posts
    2

    Angry validate xml schema generated manually

    I am trying to develop a app : Multidimensional analysis application with jsf/J2EE, I generate a schema xml file and now i want to validate it with "mondrian.xsd" this my code generate:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Schema description="test shcema description" name="First Schema9"> <Cube cache="true" caption="code here" description="cubeInSchema" enabled="true" name="First Cube7"/> <Parameter defaultValue="admin" description="parameter role" modifiable="true" name="param name" type="String"/> </Schema>
    but i get this error in validation :
    cvc-complex-type.2.4.b: The content of the element "Cube" is not complete. One of the values ​​"{Annotations, Table, View}" is expected.
    ==> but i don't think that we should have a {Annotations, Table, View} in each cube i don't know how i should validate my schema

  2. #2
    Join Date
    Jan 2013
    Posts
    535

    Default

    Following a <cube> element Mondrian is expecting <Annotations>, a <Table> or a <View>. Annotations are optional, but either a <Table> or <View> is required.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •