Hello,

I am currently working on implementing a new profile of ISO metadata using
Apache SIS, and I need to extend two codelists to have new values. More
specifically, I need to add new codes to OnLineFunction (CI_OnLineFunctionCode)
and ScopeCode (MD_ScopeCode). I'd also like my new classes to use a
different codelist URL.

For example, a CI_OnLineFunctionCode currently looks like this:

<gmd:CI_OnLineFunctionCode codeList="
http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#CI_OnLineFunctionCode";
codeListValue="download"
codeSpace="eng">Download</gmd:CI_OnLineFunctionCode>

I want mine to look like this (assuming I am now working with a different
code "newValue"):

<gmd:CI_OnLineFunctionCode codeList="
http://www.example.com/codelist.xml#CI_OnLineFunctionCode";
codeListValue="newValue"
codeSpace="eng">newValue</gmd:CI_OnLineFunctionCode>

Since both the codelists I want to extend are final, I'm not sure what the
proper way to add new codes is. I also can't find where the codelist URL is
injected, but I need to override that behavior.

Thank you,
Cullen Rombach

-- 
Cullen Rombach
Image Matters LLC
www.imagemattersllc.com

Reply via email to