View Full Version : Error about invalid schema in Pat

03-19-2010, 05:03 AM

When I load my schema in pat i get this:

Schema File is invalid
Invalid XML file : cvc-enumeration-valid: Value 'StandardDimension' is not facet-valid with respect to enumeration '[Standard, Time]'. It must be a value from the enumeration.

Which is a bit odd; Because this schema is apparently valid according to schema workbench, and works fine with JPivot and Analyzer.

I'm sure there may well be a problem with it :) but what? Is there some constraint with schema definitions I must know about? Or is the mondrian in the pat standalone server more up to date than that in 3.5.2 and warning about things it didnt use to warn about?


03-19-2010, 05:27 AM
Ok, weirdly the terms have changed, and even 4.0 schema work bench is wrong. Is this a PAT thing?

If i replace timedimension with time, distinct-count with distinct count etc etc, it works. Weird.

But then i hit the same problem as posted elsewhere. Hey ho!

03-19-2010, 05:29 AM
You can safely ignore it, we were testing schema validation, and its purely a warning and non fatal(assuming psw likes your schema)

03-19-2010, 05:33 AM
ah ok, i didnt realise it was still uploading - yes i can connect now.

03-19-2010, 05:43 AM
Yeah that needs reworking to make it optional and less scary ;)