Tony Nguyen wrote: > Shawn, > > I agree documentation can be improved here. It is a little tricky to > find but have a look at scf_value_create(3SCF). I'll give you my answers > and others can correct.
Yes, I had gotten there from the libscf man page. But the matrix of types is a little confusing. I wasn't certain that uri was really the right thing. It would be nice if this documentation was in the dtd itself instead of a random library function man page. Especially since, in my case, I never would have though to look at man pags for c libraries I'm not using -- I only thought of libscf because of a past recommendation. > Shawn Walker wrote: >> I can't divine clearly enough from the libscf man pages, etc. (or the >> dtd -- where's my dtd documentation?!?) what the difference is between >> a ustring and a uri. >> > The short answer is that they are the same since ustring is uri's base > type. >> I have a uri (minus scheme) I want users to specify via an smf >> property. What type should my property be to contain a uri such as >> "http://foo.example": uri or ustring? >> > Use "uri" for a uri :) Thanks for the response! Cheers, -- Shawn Walker