The trait SimpleSAML\XML\TypedTextContentTrait requires some properties which are not provided by SimpleSAML\WSSecurity\XML\sp_200702\XPath: $localName, $namespaceURI
Loading history...
22
23
24
/** @var string */
25
public const TEXTCONTENT_TYPE = StringValue::class;
26
27
28
/**
29
* Validate the content of the element.
30
*
31
* @param string $content The value to go in the XML textContent
32
* @throws \SimpleSAML\XMLSchema\Exception\SchemaViolationException on failure
33
* @return void
34
*/
35
protected function validateContent(string $content): void
36
{
37
$dom = new DOMXPath(DOMDocumentFactory::create());