[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: ISSUE 132: attribute properties in a sequenced type
http://www.osoa.org/jira/browse/SDO-132 -----Ursprüngliche Nachricht----- Von: Buennig, Stefan [mailto:stefan.buennig@sap.com] Gesendet: Donnerstag, 19. Juni 2008 09:55 An: sdo@lists.oasis-open.org Betreff: AW: [sdo] [NEW ISSUE] XML Fidelity issue: attribute properties in a sequenced type Hi Frank, your proposal is convenient for attributes but it is not the perfect solution to get all properties that are not in the sequence. There could be properties that have a containment property as opposite. These properties are not attributes and not in the sequence. Regards, Stefan. -----Ursprüngliche Nachricht----- Von: Frank Budinsky [mailto:frankb@ca.ibm.com] Gesendet: Dienstag, 17. Juni 2008 22:59 An: sdo@lists.oasis-open.org Betreff: [sdo] [NEW ISSUE] XML Fidelity issue: attribute properties in a sequenced type Here is another XML fidelity issue that may be related to the cast(Node.class) discussion. The problem is described in section 2.3 in this doc: http://www.oasis-open.org/apps/org/workgroup/sdo/download.php/26722/SDO_XML_Issues.doc I'm wondering if others agree that we need a better way to access the attributes, and if so, do you think there should be a "nice SDO way" or would it sufficient to support this only if an implementation supports casting to Node: NamedNodeMap attributes = mySequencedDO.cast(Node.class).getAttributes(); If we wanted an SDO API for this, it would probably need to go in XMLHelper, or, if we agree that Sequence is really only for XML, then we could add a method to Sequence: Map<String, Property> attributes = mySequencedDO.getSequence().getAttributes(); What do others think about this issue? Thanks, Frank --------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. You may a link to this group and all your TCs in OASIS at: https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php --------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. You may a link to this group and all your TCs in OASIS at: https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]