[GeoNetwork-users] Adding MCP 2.0 to geonetworks 2.10

Hi all,

I have downloaded the master version of the schema plugin at github https://github.com/geonetwork/schema-plugins

Tried to install the iso19139.mcp-2.0 using the Administration interface but with no success - so I copied the folder directly into /web/geonetwork/WEB-INF/data/config/schema_plugins

I then used the administration interface to load the iso19139.mcp-2.0 templates. This was done without error.

When I tried to create a new record however using one of the templates I get:
XPathException : Template iso19139.mcp-2.0-javascript has not been defined

I can see that the template name iso19139.mcp-2.0-javascript is defined in iso19139.mcp-2.0/present/metadata-iso19139.mcp-2.0.xsl

Can someone please help?

Thanks.

Kind Regards.
Petula Lau

Hi all - any help on this? I am still stuck on what to do.

Many thanks.

Kind Regards,
Petula

On 6/08/14 8:33 AM, "Petula Lau" <Petula.Lau@anonymised.com> wrote:

Hi all,

I have downloaded the master version of the schema plugin at github
https://github.com/geonetwork/schema-plugins

Tried to install the iso19139.mcp-2.0 using the Administration interface
but with no success - so I copied the folder directly into
/web/geonetwork/WEB-INF/data/config/schema_plugins

I then used the administration interface to load the iso19139.mcp-2.0
templates. This was done without error.

When I tried to create a new record however using one of the templates I
get:
XPathException : Template iso19139.mcp-2.0-javascript has not been defined

I can see that the template name iso19139.mcp-2.0-javascript is defined
in iso19139.mcp-2.0/present/metadata-iso19139.mcp-2.0.xsl

Can someone please help?

Thanks.

Kind Regards.
Petula Lau
--------------------------------------------------------------------------
----
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clkt
rk
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Hi Petula,

We recently had the same problem upgrading to geonetwork 2.10 and have fixed this issue in our forked repository.

There are two issues which may affect you,

a) the naming standard for schema plugins files changed between 2.8 and 2.10 and the MCP 2.0 schema plugin was never updated.
b) if installed with MCP 1.4 there are template naming clashes.

We will be looking at forward fitting these changes to core schema plugins in the next week or so, but if you need them before then look at:

https://github.com/aodn/schema-plugins/commit/fa13e5ce3b87156e9531a77f604224717697d0d5

and changes made for mcp 1.4 for the change in naming standard (our changes are made over several commits and will just confuse matters)

https://github.com/geonetwork/schema-plugins/commit/1450f8f7c94145b01db42779f713f44896935afd

Regards,
Craig Jones
Integrated Marine Observing System

On 11/09/14 08:00, Petula Lau wrote:

Hi all - any help on this? I am still stuck on what to do.

Many thanks.

Kind Regards,
Petula

On 6/08/14 8:33 AM, "Petula Lau" <Petula.Lau@anonymised.com> wrote:

Hi all,

I have downloaded the master version of the schema plugin at github
https://github.com/geonetwork/schema-plugins

Tried to install the iso19139.mcp-2.0 using the Administration interface
but with no success - so I copied the folder directly into
/web/geonetwork/WEB-INF/data/config/schema_plugins

I then used the administration interface to load the iso19139.mcp-2.0
templates. This was done without error.

When I tried to create a new record however using one of the templates I
get:
XPathException : Template iso19139.mcp-2.0-javascript has not been defined

I can see that the template name iso19139.mcp-2.0-javascript is defined
in iso19139.mcp-2.0/present/metadata-iso19139.mcp-2.0.xsl

Can someone please help?

Thanks.

Kind Regards.
Petula Lau
--------------------------------------------------------------------------
----
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clkt
rk
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork