OASIS eXtensible Access Control Markup Language (XACML) TC

 View Only
  • 1.  Namespaces and xpaths

    Posted 03-29-2007 12:32
    All,
    
    I have a question about namespaces and xpath expressions. There are a
    few standard xpath functions in XACML 2.0 in section A.3.15. These
    functions take strings as parameters, where the strings are to be
    interpreted as xpath expressions.
    
    How is resolving of namespace prefixes in these strings/expressions
    done? The specification doesn't say anything about this. (Or I didn't
    find it.)
    
    Is the xpath function going to trace back its input to the xml document
    from where the string came from? This doesn't seem possible in general.
    Or does it find the 


  • 2.  RE: [xacml] Namespaces and xpaths

    Posted 03-29-2007 16:42
    It seems that our XPath binding is underspecified - we need to define
    the in scope namespaces resolution (things that XQuery does in its
    prologue) and define the content node (".")
    Minimal list that we need to define is in appendix D of the XPath 2.0
    document: http://www.w3.org/TR/xpath20/#id-impl-defined-items, Section
    F.1 and F.2 in XDM document:
    http://www.w3.org/TR/xpath-datamodel/#implementation-defined and
    Appendix F in F&O spec: http://www.w3.org/TR/xquery-operators/#impl-def
    
    That is a fairly long list that may require its own mini-spec.   I have
    filed a work item on this, so I guess I would own the list.
    
    Daniel;
    
    
    


  • 3.  Re: [xacml] Namespaces and xpaths

    Posted 03-30-2007 04:29
    Good. I have added this as issue 78 in the issues list with you Daniel
    as the champion.
    
    Regards,
    Erik
    
    Daniel Engovatov wrote:
    > It seems that our XPath binding is underspecified - we need to define
    > the in scope namespaces resolution (things that XQuery does in its
    > prologue) and define the content node (".")
    > Minimal list that we need to define is in appendix D of the XPath 2.0
    > document: http://www.w3.org/TR/xpath20/#id-impl-defined-items, Section
    > F.1 and F.2 in XDM document:
    > http://www.w3.org/TR/xpath-datamodel/#implementation-defined and
    > Appendix F in F&O spec: http://www.w3.org/TR/xquery-operators/#impl-def
    >
    > That is a fairly long list that may require its own mini-spec.   I have
    > filed a work item on this, so I guess I would own the list.
    >
    > Daniel;
    >
    >
    >