OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xacml-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]