jsonix properties - ogc-schemas .js aren't same -
the manual on jsonix properties @ https://github.com/highsource/jsonix/wiki/properties shows properties being like:
name: 'mymodule', typeinfos: [{ type: 'classinfo', localname: 'inputtype', propertyinfos: [{ type: 'attribute', typeinfo: 'boolean', name: 'checked' }] }],
but (after npm install ogc-schemas
) seeing is:
ln: 'timeclockpropertytype', ps: [{ n: 'timeclock', rq: true, en: 'timeclock', ti: '.timeclocktype' },
with abbreviated names.
which should , why doesn't matter if doesn't?
disclaimer: i'm author of jsonix.
this what's called compact naming. option of jsonix schema compiler generates shorter names in mappings, n
instead of name
or dens
instead of defaultelementnamespaceuri
. goal make mappings smaller , since ogc-schemas pretty large, compiled compact naming default.
if want standard naming, fork , remove
<arg>-xjsonix-compact</arg>
from pom.xml
s.
both compact , standard names work in runtime, think standard names have higher priority.
Comments
Post a Comment