UAProf-RDF encoding in WBXML.

hi,
 
    I need to encode the UAProf (represented in RDF syntax) in WBXML format. The UAProf specification distributed the tokens among four code pages. I noticed some of the tags are repeated and even have different token values. (for example rdf:Description has a token of '0x06' in code pages 0,1 and a token of '0x05' in code pages 2,3). Is it ok to repeat the tokens? which token should I use while encoding?

    Also, most of the component properties are also included in the attrubute value tokens list in addition to the tag token list. (for example, prf:ColorCapable is present in both tag token list as well as attribute start token list.) can we use the property in both the ways? Isn't enough to include them in only one list.?

with prf:ColorCapable as a separate tag:
<prf:component>
    <rdf:Description ID="HardwarePlatform">
        <rdf:type rdf:resource="...."/>
        <prf:ColorCapable>No</prf:ColorCapable>
    </rdf:Description>
</prf:component>


with prf:ColorCapable as an attribute:
<prf:component prf:ColorCapable="No">
    <rdf:Description ID="HardwarePlatform">
        <rdf:type rdf:resource="...."/>
            <!-- prf:ColorCapable is specified as the attribute -->
    </rdf:Description>
</prf:component>

    please clarify.

thanks
goli.

Received on Friday, 28 March 2003 23:13:51 UTC