highsource / highsource/jsonix
missing properties
- Dominant language
- JavaScript
- Stars
- 369
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
Hi again, I have create the jsonix schema with this command:
```cmd
java -jar jsonix-schema-compiler-full.jar schema.xsd -d jsonSchemas -p ddexV341 -generateJsonSchema
```
and have this json:
```json
{
"name": {
"namespaceURI": "http://ddex.net/xml/ern/37",
"localPart": "NewReleaseMessage",
"prefix": "ern"
},
"value": {
"resourceList": {
"soundRecording": [{
"soundRecordingDetailsByTerritory": [
{
"technicalSoundRecordingDetails": [
{
"file": [
{
"fileName": "782150651416_1_01.wav",
"filePath": "resources/",
"hashSum": {
"hashSum": "8365682821f1c5553fdf1a1f58b597db",
"hashSumAlgorithmType": "MD5"
}
}
]
}
]
}
]
}]
}
}
}
```
then
```js
let context = new Jsonix.Context([schema]);
let marshaller = context.createMarshaller();
let xml = marshaller.marshalDocument(data);
```
the problem is soundRecordingDetailsByTerritory is empty, checking the jsonix schema, the last property is technicalSoundRecordingDetails, but checking the jsonschema generated, soundRecordingDetailsByTerritory hasn't technicalSoundRecordingDetails property
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.