resolveRoleDescriptorTypes resolves the prefixes of the XSIType of the RoleDescriptors of ed that are still unresolved, with the namespace declarations in attrs (those of an enclosing element).
(ed *EntityDescriptor, attrs []xml.Attr)
| 1132 | // RoleDescriptors of ed that are still unresolved, with the namespace |
| 1133 | // declarations in attrs (those of an enclosing element). |
| 1134 | func resolveRoleDescriptorTypes(ed *EntityDescriptor, attrs []xml.Attr) { |
| 1135 | for i := range ed.RoleDescriptors { |
| 1136 | ed.RoleDescriptors[i].XSIType = resolveQName(ed.RoleDescriptors[i].XSIType, attrs) |
| 1137 | } |
| 1138 | } |
| 1139 | |
| 1140 | // MarshalXML implements xml.Marshaler, writing Signature as XML, |
| 1141 | // cacheDuration as an xsd:duration and validUntil as a RelaxedTime. A zero |
no test coverage detected