← Prev in month
← Prev in thread
Next in thread →
Next in month →
Pointless Mixed Content for ContentType
The ContentType XML Schema type in the XACML 3.0 core specification (Committee
Specification 01) is defined to have mixed content. However, given the way in
which the content of the <Content> element is used to construct an XML data
structure for XPath processing, any non-whitespace characters before or after
the single child element of the <Content> element would result in an XML
document that is not well-formed. For example, given this <Content> element:
<xacml:Content>
foobar
<widget/>
foobar
</xacml:Content>
which satisfies the ContentType definition, the corresponding XML document for
XPath processing would look like this:
<?xml version="1.0" encoding="UTF-8"?>
foobar
<widget/>
foobar
which is clearly invalid. The "mixed" attribute should be removed from the
definition of ContentType.
Regards,
Steven
← Prev in month
← Prev in thread
Next in thread →
Next in month →