OASIS eXtensible Access Control Markup Language (XACML) TC

 View Only

Re: [xacml] Typos in the SAML profile schema

  • 1.  Re: [xacml] Typos in the SAML profile schema

    Posted 01-24-2005 08:53
     MHonArc v2.5.0b2 -->
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    xacml message

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


    Subject: Re: [xacml] Typos in the SAML profile schema


    The list of errors I have found is attached below. I have not needed the
    protocol schema, so I have not tried to run it, rather I just noticed
    that some of the errors are in both of the schemas.
    
    /Erik
    
    The fifth lines in both schemas say:
      xmlns:xs="http://www.23.org/2001/XMLSchema";
    
    They should be:
      xmlns:xs="http://www.w3.org/2001/XMLSchema";
    
    There is an extra '>' at the end of line 47 in the assertion schema
    and at line 54 in the protocol schema.
    
    The import elements at lines 18 and 20 in both schemas have incorrect
    namespace attributes. They should be the same as the target namespace
    in the imported schema documents. The attribute says "...:cd-01" while
    the schema target namespace says "...:cd". I suppose also that the
    imports should be updated to link to the latest drafts, not draft
    01. That would also mean that the namespace prefixes "xacml-context"
    and "xacml" would need to be updated.
    
    The element declarations have incorrect type names. What is needed is
    a namespace prefix. Currently the element declarations look like this:
    
      <xs:element name="XACMLPolicyStatement"
               type="XACMLPolicyStatementType"/>
    
    They should be something like this:
    
      <xs:element name="XACMLPolicyStatement"
               type="xacml-saml:XACMLPolicyStatementType"/>
    
    where xacml-saml needs to be defined to point to the target namespaces
    of the schemas.
    
    The extension base type of the Complex types is incorrect, at lines 34
    and 47 in the assertion schema. It says:
    
          <xs:extension base="samlp:StatementAbstractType">
    
    but the StatementAbstractType is defined in the SAML assertion schema,
    so it should be:
    
          <xs:extension base="saml:StatementAbstractType">
    
    "minOccurs" on line 37 in the assertion schema is incorrectly spelled
    as "MinOccurs".
    
    
    On Fri, 2005-01-21 at 11:01 -0500, Anne Anderson wrote:
    > I have not received any previous information about typos or other errors
    > in the SAML profile, so a list of specific errors you found would be
    > very helpful.  We can post it as an "errata" document on the web site.
    > 
    > Thanks,
    > Anne
    > 
    
    
    


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