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

 


Help: OASIS Mailing Lists Help | MarkMail Help

xri message

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


Subject: RE: [Openxri-users] XRIDescriptor attribute (xrid:id="..")


It's clearly a bug in the examples. We'll fix it in the next committee
draft of the resolution spec.

Dave

> -----Original Message-----
> From: openxri-users-admin@lists.sourceforge.net [mailto:openxri-users-
> admin@lists.sourceforge.net] On Behalf Of Chetan Sabnis
> Sent: Monday, May 16, 2005 6:25 AM
> To: n v
> Cc: openxri-users@lists.sourceforge.net
> Subject: Re: [Openxri-users] XRIDescriptor attribute (xrid:id="..")
> 
> 
> Actually, this is not valid XML, so the OpenXRI library is correct to
> reject it.  There needs to be a 'xmlns:xrid="..."' attribute in the
> XRIDescriptor or XRIDescriptors element to properly bind the id
attribute.
> 
> Certainly, in the resolution spec, the examples have unqualified
xrid:id
> attributes.  This is wrong, but the examples are not normative.  I
> believe that by the provided XSD, an unqualified id attribute is fine.
> Maybe Dave or Gabe can comment on this...
> 
> Chetan
> 
> n v wrote:
> > Hi,
> > I tried resolving a valid XRI against the 2idi
> > resolver server.
> > If I make a direct GET Request to the 2idi resolver it
> > returns a descriptor(which is in accordance with XRI
> > 2.0):
> >
> >
------------------------------------------------------------------------
> ---
> >
> > <?xml version="1.0" encoding="utf-8"?>
> > <XRIDescriptors
> > xmlns="xri://$res*schema/XRIDescriptor*($v%2F2.0.20050425)">
> > <XRIDescriptor xrid:id="first">
> > <Resolved>*aman</Resolved>
> > <Expires>2005-05-18T05:57:04Z</Expires>
> >
<AuthorityID>urn:uuid:606D7688-AD46-11D9-8BDE-F66BAD1E3F3A</AuthorityID>
> > <Authority>
> >
<AuthorityID>urn:uuid:223E4ABE-AD45-11D9-8BDE-F66BAD1E3F3A</AuthorityID>
> > <Type>xri://$res*auth.res/XRIA</Type>
> > <URI>http://xri.2idi.com</URI>
> > </Authority>
> > <Service>
> > <Type>xri://$res*local.access/X2R</Type>
> > <URI>https://2idi.com/xridb</URI>
> > <URI>http://2idi.com/xridb</URI>
> > </Service>
> > <Synonyms>
> > <Internal>xri://!1000!2119</Internal>
> > <External>xri://=!(!!1002/!1000!2119)</External>
> > </Synonyms>
> > </XRIDescriptor>
> > </XRIDescriptors>
> >
> >
------------------------------------------------------------------------
> -------
> >
> >
> >
> >
> > But when i try to resolve this using Open XRI Resolver
> > client ,I get the error:
> >
> >
------------------------------------------------------------------------
> ---------
> > [Fatal Error] :3:32: The prefix "xrid" for attribute
> > "xrid:id" associated with an element type
> > "XRIDescriptor" is not bound.
> > org.openxri.resolve.XRIResolutionException:
> > SAXException
> > 	at
> > org.openxri.resolve.Resolver.readXRIDescriptors(Resolver.java:811)
> > 	at
> >
org.openxri.resolve.Resolver.resolveAuthorityViaRoot(Resolver.java:496)
> > 	at
> > org.openxri.resolve.Resolver.resolveChain(Resolver.java:235)
> > 	at
> > org.openxri.resolve.Resolver.resolveAll(Resolver.java:155)
> >
------------------------------------------------------------------------
> ---------
> >
> > I think the OpenXRI client expects the XDIDescriptor
> > tag to look like:
> > <XRIDescriptor xmlns="xri://$res*schema/XRIDescriptor"
> > id="......">
> >
> > But instead it's getting something like:
> > <XRIDescriptor xrid:id="first">
> >
> > And it does not understand "xrid:".
> >
> > Could you please tell whether this is the actual
> > problem or could there be some other problem for this
> > behaviour of the
> >
> > Resolver client.
> >
> >
> > Thanks
> > Plizkee
> >
> >
> >
> >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by Oracle Space Sweepstakes
> > Want to be the first software developer in space?
> > Enter now for the Oracle Space Sweepstakes!
> > http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
> > _______________________________________________
> > Openxri-users mailing list
> > Openxri-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/openxri-users
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
> _______________________________________________
> Openxri-users mailing list
> Openxri-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openxri-users
> 
> --
> 
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.11.10 - Release Date: 5/13/2005
> 


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