OASIS eXtensible Access Control Markup Language (XACML) TC

Re: [xacml] QName questions

  • 1.  Re: [xacml] QName questions

    Posted 10-28-2002 15:03
    But then what do we do about DataType values such as xsi:string that are already defined as QNames? Anne On 25 October, Simon Godik writes: Re: [xacml] QName questions > From: Simon Godik <simon@godik.com> > To: xacml@lists.oasis-open.org > Subject: Re: [xacml] QName questions > Date: Fri, 25 Oct 2002 14:40:20 -0700 > > > 1. If an xml attribute is defined as Type="xs:QName", then do XML > > parsers like SAX and DOM do the resolution of those names? > > By looking at the sax api it does not seem that anything is done with > attribute values of qname type. > My guess is that an application is responsible for expanding qname. Problem > is that expanded name > is a pair: (URI, local_name) and there is no standard that says how this 2 > elements should be combined to > form one value. Some suggest URI+local_name, others URIlocal_name, and so > on. > > My preference would be not to use qnames for attribute values at all, and > use URI's instead. > > Simon > >