Issue 95 in ogf-nsi-project: Type attribute in TypeValuePairType should be optional.
Status: Accepted Owner: jmacauley Labels: Type-Defect Priority-Medium FoundInVersion-2.0 FixedInVersion-2.0 New issue 95 by jmacauley: Type attribute in TypeValuePairType should be optional. http://code.google.com/p/ogf-nsi-project/issues/detail?id=95 The "type" attribute in TypeValuePairType should be optional for when elements from external namespaces are included. The TypeValuePairType appears currently as: <xsd:complexType name="TypeValuePairType"> <xsd:sequence> <xsd:element name="value" type="xsd:string" nillable="true" minOccurs="0" maxOccurs="unbounded" /> <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" /> </xsd:sequence> <xsd:attribute name="type" type="xsd:string" use="required" /> <xsd:attribute name="targetNamespace" type="xsd:anyURI" use="optional" /> <xsd:anyAttribute namespace="##other" processContents="lax" /> </xsd:complexType> It will be changed to: <xsd:complexType name="TypeValuePairType"> <xsd:sequence> <xsd:element name="value" type="xsd:string" nillable="true" minOccurs="0" maxOccurs="unbounded" /> <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" /> </xsd:sequence> <xsd:attribute name="type" type="xsd:string" use="optional" /> <xsd:attribute name="targetNamespace" type="xsd:anyURI" use="optional" /> <xsd:anyAttribute namespace="##other" processContents="lax" /> </xsd:complexType> -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings
Updates: Status: Fixed Comment #1 on issue 95 by jmacauley: Type attribute in TypeValuePairType should be optional. http://code.google.com/p/ogf-nsi-project/issues/detail?id=95 Closed with revision 74. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings
Comment #2 on issue 95 by thost...@gmail.com: Type attribute in TypeValuePairType should be optional. http://code.google.com/p/ogf-nsi-project/issues/detail?id=95 I am bit baffled by this one. Just having a namespace and a value does not make a lot of sense to me. Or this when someone crams a QName into the targetNamespace attribute? Should we consider just have a type/value and always using QNames in the type? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings
participants (1)
-
ogf-nsi-project@googlecode.com