jsonix


jsonix properties - ogc-schemas .js aren't same


The manual on jsonix properties at https://github.com/highsource/jsonix/wiki/Properties shows properties as being something like:
name: 'MyModule',
typeInfos: [{
type: 'classInfo',
localName: 'InputType',
propertyInfos: [{
type: 'attribute',
typeInfo: 'Boolean',
name: 'checked'
}]
}],
But then (after npm install ogc-schemas) what I am seeing is:
ln: 'TimeClockPropertyType',
ps: [{
n: 'timeClock',
rq: true,
en: 'TimeClock',
ti: '.TimeClockType'
},
With the abbreviated names.
Which should it be and why doesn't it matter if it doesn't?
Disclaimer: I'm the author of jsonix.
This is what's called compact naming. This is an option of the Jsonix Schema Compiler which generates shorter names in mappings, like n instead of name or dens instead of defaultElementNamespaceURI. The goal is clearly to make mappings smaller and since ogc-schemas are pretty large, they are compiled with compact naming by default.
If you want standard naming, fork and remove
<arg>-Xjsonix-compact</arg>
from all the pom.xmls.
Both compact and standard names work in runtime, I think standard names have higher priority.

Related Links

jsonix properties - ogc-schemas .js aren't same
Trying to understand why simple jsonix unmarshalling is failing
Unmarshalling SOS GetCapabilities via JSONIX yields only abstract offering data

Categories

HOME
vagrant
clearcase
seedstack
bokeh
scroll
activemq
whmcs
iptables
fedora
angular-meteor
save
gtk
xamarin-zebble
erd
game-maker
android-externalstorage
pushdown-automaton
synthesis
bnf
salt-cloud
libgit2
tableview
android-permissions
el
batch-rename
acl
webviewclient
unrar
uilocalnotification
points
jackrabbit-oak
sales
substance
delayed-job
knights-tour
java-stream
love2d
android-alarms
elastica
hidden-markov-models
google-now
best-buy-api
suds
react-intl
destroy
sonarqube5.2
directwrite
phppgadmin
embedded-v8
mura
http-basic-authentication
apache-modules
dynamics-crm-4
hmmlearn
cognos-tm1
annotatorjs
petsc
elastic4s
cefpython
libharu
livecycle
tsqlt
conan
maven-release-plugin
qpixmap
static-methods
adp
rails-engines
teamviewer
currency-exchange-rates
wikimedia-commons
flask-security
gdl
largenumber
featuretoggle
google-gdk
ocmockito
console.log
fiware-bosun
jolie
comctl32
datagridcomboboxcolumn
device-admin
smacss
jquery-mobile-flipswitch
siena
two.js
neo4jphp
hyperloglog
libxml-js
contextswitchdeadlock
ckeditor.net
tridion-2011
clearinterval
kobold2d
play2-mini
ccnet-config
pinax
rational-unified-process
spring-modules
powergui
external-sorting
inversion
webclient.uploaddata

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App