throws PAPIException {
MarinerPageContext pageContext
= ContextInternals.getMarinerPageContext(context);
SpanAttributes attributes = (SpanAttributes) papiAttributes;
PolicyReferenceResolver resolver =
pageContext.getPolicyReferenceResolver();
TextAssetReference srcReference =
resolver.resolveQuotedTextExpression(attributes.getSrc());
if (srcReference != null && srcReference.isPolicy()) {
pattributes.setSrc(srcReference);
}
int result = super.styleElementStart(context,