Hitachi Vantara Pentaho Community Forums
Results 1 to 6 of 6

Thread: [Mondrian] mondrian.xsd differences

  1. #1
    van der Werf, Guy Guest

    Default [Mondrian] mondrian.xsd differences

    I have analyzed some work based on the file “mondrian-3.2.1.13885.src/lib/ mondrian.xsd”. I then compared it with “trunk/lib/mondrian.xsd@HEAD” and found several changes – some of which are important to my previous analysis.

    To summarize the changes, it seems that description attributes and annotation nodes have been removed. A cross-reference with “design-tools/schema-workbench/lib/mondrian.xsd” found in the BI Suite EE 3.8 shows that it contains the description attributes and annotation nodes.
    i.e. “trunk/lib/mondrian.xsd@HEAD” appears wrong (or at least incomplete).

    Can anyone please explain the anomaly? Which file is correct?
    Thanks.

    _______________________________________________
    Mondrian mailing list
    Mondrian (AT) pentaho (DOT) org
    http://lists.pentaho.org/mailman/listinfo/mondrian

  2. #2
    Julian Hyde Guest

    Default Re: [Mondrian] mondrian.xsd differences

    Luc added annotations in //open/mondrian-release/3.2/lib/mondrian.xsd#2.
    That change was integrated to the main line, and it seems that
    //open/mondrian/lib/mondrian.xsd and
    //open/mondrian-release/3.2/mondrian/lib/mondrian.xsd are identical.

    You mention 'trunk'. Where are you getting the source code? The primary
    source code is in perforce.

    However, mondrian.xsd is not actively maintained, so it tends to drift out
    of sync with the grammar (as defined by
    src/main/mondrian/olap/Mondrian.xml). Contributions are always welcome if
    the .xsd is out of sync with the .xml.

    Julian

    _______________________________________________
    Mondrian mailing list
    Mondrian (AT) pentaho (DOT) org
    http://lists.pentaho.org/mailman/listinfo/mondrian

  3. #3
    van der Werf, Guy Guest

    Default Re: [Mondrian] mondrian.xsd differences

    I refer to "//perforce.eigenbase.org/svn/trunk/open/mondrian/lib/mondrian.xsd". This contains no annotations. Just to clarify: I mean the "Annotations" and "Annotation" nodes e.g. under Schema, and the "Description" attribute e.g. under Schema.

    Please refer to "...\design-tools\schema-workbench\lib\mondrian.xsd" as released in the BI Suite 3.8. This clearly is not the same file and contains more nodes and attributes. Search for '<xsd:element name="Annotations"' for example. This element is used by the EE Analyzer, so it's definitely valid, but it's clear that the two XSDs are maintained separately. I don't mind assisting to re-sync, but who decides which is the master?

    Guy

    -----Original Message-----
    From: mondrian-bounces (AT) pentaho (DOT) org [mailto:mondrian-bounces (AT) pentaho (DOT) org] On Behalf Of Julian Hyde
    Sent: Dienstag, 7. Juni 2011 19:22
    To: 'Mondrian developer mailing list'
    Subject: Re: [Mondrian] mondrian.xsd differences

    Luc added annotations in //open/mondrian-release/3.2/lib/mondrian.xsd#2.
    That change was integrated to the main line, and it seems that //open/mondrian/lib/mondrian.xsd and //open/mondrian-release/3.2/mondrian/lib/mondrian.xsd are identical.

    You mention 'trunk'. Where are you getting the source code? The primary source code is in perforce.

    However, mondrian.xsd is not actively maintained, so it tends to drift out of sync with the grammar (as defined by src/main/mondrian/olap/Mondrian.xml). Contributions are always welcome if the .xsd is out of sync with the .xml.

    Julian

    _______________________________________________
    Mondrian mailing list
    Mondrian (AT) pentaho (DOT) org
    http://lists.pentaho.org/mailman/listinfo/mondrian
    _______________________________________________
    Mondrian mailing list
    Mondrian (AT) pentaho (DOT) org
    http://lists.pentaho.org/mailman/listinfo/mondrian

  4. #4
    Nicholas Goodman Guest

    Default Re: [Mondrian] mondrian.xsd differences

    On Jun 8, 2011, at 2:14 AM, van der Werf, Guy wrote:

    > I refer to "//perforce.eigenbase.org/svn/trunk/open/mondrian/lib/mondrian.xsd". This contains no annotations. Just to clarify: I mean the "Annotations" and "Annotation" nodes e.g. under Schema, and the "Description" attribute e.g. under Schema.


    Guy,

    I apologize - that SVN above is an old SVN replication that Eigenbase (whom hosts the Mondrian source code control systems) deprecated about 1.5 years ago. The "trunk" you are seeing above is fixed in time; I will add to my todo list to remove it so it does not create the same confusion in the future.

    You have two ways to see the latest, most up to date source code control.

    Perforce:
    - You can use Perforce client (http://mondrian.pentaho.com/document...pers_guide.php)
    - You can browse it online (http://p4webhost.eigenbase.org:8080/...ondrian/?ac=83)

    SVN or GIT:
    We replicate every few minutes to a READ-ONLY git account
    https://github.com/eigenbase/mondrian
    You can also, again it's read only, see the latest commits via SVN
    svn checkout http://svn.github.com/eigenbase/mondrian.git

    Hope this clears up the confusion, and I'll work on getting that old, static SVN (perforce.eigeinbase.org/svn) taken down.

    Nick
    _______________________________________________
    Mondrian mailing list
    Mondrian (AT) pentaho (DOT) org
    http://lists.pentaho.org/mailman/listinfo/mondrian

  5. #5
    van der Werf, Guy Guest

    Default Re: [Mondrian] mondrian.xsd differences

    For the record, this resolved the problem. Thanks Nick.
    I reached the obsolete eigenbase.org by reading the Mondrian Developer's Guide at http://mondrian.pentaho.com/document...pers_guide.php Perhaps this should be reviewed too.

    Interestingly, I had no luck using SVN as was specified below, but GIT worked (in Eclipse with EGIT plugin so I'm happy enough).

    Guy

    -----Original Message-----
    From: mondrian-bounces (AT) pentaho (DOT) org [mailto:mondrian-bounces (AT) pentaho (DOT) org] On Behalf Of Nicholas Goodman
    Sent: Mittwoch, 8. Juni 2011 18:51
    To: Mondrian developer mailing list
    Subject: Re: [Mondrian] mondrian.xsd differences

    On Jun 8, 2011, at 2:14 AM, van der Werf, Guy wrote:

    > I refer to "//perforce.eigenbase.org/svn/trunk/open/mondrian/lib/mondrian.xsd". This contains no annotations. Just to clarify: I mean the "Annotations" and "Annotation" nodes e.g. under Schema, and the "Description" attribute e.g. under Schema.


    Guy,

    I apologize - that SVN above is an old SVN replication that Eigenbase (whom hosts the Mondrian source code control systems) deprecated about 1.5 years ago. The "trunk" you are seeing above is fixed in time; I will add to my todo list to remove it so it does not create the same confusion in the future.

    You have two ways to see the latest, most up to date source code control.

    Perforce:
    - You can use Perforce client (http://mondrian.pentaho.com/document...pers_guide.php)
    - You can browse it online (http://p4webhost.eigenbase.org:8080/...ondrian/?ac=83)

    SVN or GIT:
    We replicate every few minutes to a READ-ONLY git account https://github.com/eigenbase/mondrian
    You can also, again it's read only, see the latest commits via SVN svn checkout http://svn.github.com/eigenbase/mondrian.git

    Hope this clears up the confusion, and I'll work on getting that old, static SVN (perforce.eigeinbase.org/svn) taken down.

    Nick
    _______________________________________________
    Mondrian mailing list
    Mondrian (AT) pentaho (DOT) org
    http://lists.pentaho.org/mailman/listinfo/mondrian
    _______________________________________________
    Mondrian mailing list
    Mondrian (AT) pentaho (DOT) org
    http://lists.pentaho.org/mailman/listinfo/mondrian

  6. #6
    Nicholas Goodman Guest

    Default Re: [Mondrian] mondrian.xsd differences

    On Jun 14, 2011, at 12:51 AM, van der Werf, Guy wrote:

    > For the record, this resolved the problem. Thanks Nick.
    > I reached the obsolete eigenbase.org by reading the Mondrian Developer's Guide at http://mondrian.pentaho.com/document...pers_guide.php Perhaps this should be reviewed too.


    I have removed the location http:/perforce.eigenbase.org/svn (so the old SVN isn't sitting out there). Sorry again for any confusion Guy.

    I just checked the doc above (developers_guide.php) and found no reference to the SVN instance; only the perforce server which is definitely NOT deprecated and is still the mainline for mondrian.

    If anyone finds any additional references to the obsoleted SVN mirroring let me know.

    Kind Regards,
    Nick
    _______________________________________________
    Mondrian mailing list
    Mondrian (AT) pentaho (DOT) org
    http://lists.pentaho.org/mailman/listinfo/mondrian

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.