You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by Andy Cutright <ac...@borland.com> on 2003/05/12 16:53:11 UTC

[juddi-Users] empty elements: appropriate behavior?

hi,

this request message causes jUDDI to return an empty fault response:

<find_business generic="2.0" maxRows="5" 
xmlns="urn:uddi-org:api_v2"><findQualifiers/><name>E</name></find_business>

the <findQualifiers/> element is an optional parameter. i didn't see 
anything in the spec about handling  elements that don't contain any 
text or attributes, just the name of the parameter. it makes sense to me 
that optional parameters without any data/ text should be ignored. 
thoughts?

cheers,
andy




RE: [juddi-Users] empty elements: appropriate behavior?

Posted by Anou Manavalan <an...@trysybase.com>.
I have added the patch to the CVS.

thanks,
-Anou

-----Original Message-----
From: juddi-users-admin@lists.sourceforge.net
[mailto:juddi-users-admin@lists.sourceforge.net]On Behalf Of Andy
Cutright
Sent: Tuesday, May 13, 2003 8:53 AM
To: 'juddi-users'
Subject: Re: [juddi-Users] empty elements: appropriate behavior?


i've filed a bug / provided a patch against this. the request ultimately
causes a null ptr access.

cheers,
andy

Andy Cutright wrote:

> hi,
>
> this request message causes jUDDI to return an empty fault response:
>
> <find_business generic="2.0" maxRows="5"
>
xmlns="urn:uddi-org:api_v2"><findQualifiers/><name>E</name></find_business>
>
>
> the <findQualifiers/> element is an optional parameter. i didn't see
> anything in the spec about handling  elements that don't contain any
> text or attributes, just the name of the parameter. it makes sense to
> me that optional parameters without any data/ text should be ignored.
> thoughts?
>
> cheers,
> andy
>
>
>
> -------------------------------------------------------
> Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
> The only event dedicated to issues related to Linux enterprise solutions
> www.enterpriselinuxforum.com
>
> _______________________________________________
> juddi-users mailing list
> juddi-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/juddi-users





-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
juddi-users mailing list
juddi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/juddi-users




Re: [juddi-Users] empty elements: appropriate behavior?

Posted by Andy Cutright <ac...@borland.com>.
i've filed a bug / provided a patch against this. the request ultimately 
causes a null ptr access.

cheers,
andy

Andy Cutright wrote:

> hi,
>
> this request message causes jUDDI to return an empty fault response:
>
> <find_business generic="2.0" maxRows="5" 
> xmlns="urn:uddi-org:api_v2"><findQualifiers/><name>E</name></find_business> 
>
>
> the <findQualifiers/> element is an optional parameter. i didn't see 
> anything in the spec about handling  elements that don't contain any 
> text or attributes, just the name of the parameter. it makes sense to 
> me that optional parameters without any data/ text should be ignored. 
> thoughts?
>
> cheers,
> andy
>
>
>
> -------------------------------------------------------
> Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
> The only event dedicated to issues related to Linux enterprise solutions
> www.enterpriselinuxforum.com
>
> _______________________________________________
> juddi-users mailing list
> juddi-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/juddi-users