モデル・グループの一部であるネストされたビジネス・オブジェクトを処理するときは、モデル・グループのパス・パターンを使用する必要があります。
<?xml version="1.0" encoding="UTF-8"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://MultipleGroup"> <xsd:complexType name="MultipleGroup"> <xsd:sequence> <xsd:choice> <xsd:element name="child1" type="Child"/> <xsd:element name="child2" type="Child"/> </xsd:choice> <xsd:element name="separator" type="xsd:string"/> <xsd:choice> <xsd:element name="child1" type="Child"/> <xsd:element name="child2" type="Child"/> </xsd:choice> </xsd:sequence> </xsd:complexType> </xsd:schema>「child1」および「child2」という名前のエレメントは、複数インスタンスが可能であることに注意してください。
これらの競合を解決するには、モデル・グループ用にサービス・データ・オブジェクト (SDO) パス・パターンを使用する必要があります。
set("child1/grandchild/name", "Bob"); set("child11/grandchild/name", "Joe");