Serialize/Deserialize payload/extension elements in LEXS

Mar 22, 2013 at 7:48 PM

I have a question. How do you serialize/deserialize elements in StructuredPayload or StructuredPayloadQueryField? Do you have classes for the elements that go in here?

                        <nc:PersonHairStyleText>strawberry blond</nc:PersonHairStyleText>
                        <lexslib:SameAsDigestReference lexslib:ref="Sub2"/>
                        <lexslib:SameAsDigestReference lexslib:ref="Incident1"/>
Mar 25, 2013 at 6:25 PM

Been a long, long time since I have looked at this.

The StructuredPayload fields are an abstract type ("object") and I can't find a specific element those map to for substitutions. Looks like the way it was intended to be used is to populate the StructuredPayloadMetadata or StructuredPayloadQueryStatementType with schema details about what you're searching in StructuredPayload or StructuredPayloadQueryField.

For a specific answer you'd want to ask the LEXS group. I am taking a guess based on the comments & structures in the lexs.xsd file in the source code folders of this project.