These rules were used with FullMoon 1.0.0 (rules/schema-encoding/xmi11ea folder) GML rules were modified to include the following features : - Encoding of soft-typed properties carrying an extra 'name' attribute - Encoding of certain properties/class attributes as XML attributes - Encoding of simple type unions Changes relative to original rules provided with FullMoon are indicated in the XQuery code by MOD_SWE_COMMON and MOD_SENSORML comments After running FullMoon, the following manual post-processing steps are necessary to obtain a correct schema : - Change "element" to "group" in all references to sml:Constraint and sml:TimeInstantOrPeriod (core.xsd) - Change "sml:Boolean" to "boolean" in ComponentValue union (core.xsd) - Replace hard coded types in core.xsd by manually crafter types (from hard_coded folder) - Replace language attribute by ref=xml:lang attribute in DescribedObject - Replace stuffs in configuration.xsd by manually crafted types (from hard_coded folder) - Replace complexContent by simpleContent in axis element (physical_component.xsd)