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

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrp message

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


Subject: RE: [wsrp] User Profile Items - Samples


I see the issue and it’s mainly a style question but this could be addressed by including a (localizable) description along with the value. That way you get both a XML friendly unique (local independent) handle (the element name) and it’s easier to just use element nesting to naturally model hierarchical structures (such as profile information).

 

Regards,
Andre

 


From: Nathan Lipke [mailto:nlipke@bea.com]
Sent: 31 July 2005 18:31
To: Rich Thompson
Cc: wsrp
Subject: Re: [wsrp] User Profile Items - Samples

 

    I have a question, does using the item's name element name artificially constrain the item names? That is what if an item name contains white space or other special characters?

For example, the following could not be represent as element names:

  • spouse name
  • ldap/CN
  • firstName+lastName


Should we instead use the <customItem>, which includes a name attribute or type string.

This would allow any character to be included in the item's name. The down side is it would require a value holder element for primitive types.

Here's a snipped of xml:

<urn:profile xmlns:xs="http://www.w3.org/2001/XMLSchema">>
  <urn:name> <urn:extensions>
    <urn:customItem xsi:type="xs:string" name="spouse Name">  
      <xs:string>Susan</xs:string>
    </urn:customItem>
  </urn:extensions> </urn:name>
 
 
Thanks,
 
Nate


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