| 发表于:2008-02-22 13:26:4010楼 得分:0 |
个人认为它定义的规范不是很严格!我认为可以自已重新定义, 像: <rdf:rdf xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" > <rdf: a> bob dylan </a> <rdf:b> usa </b> <rdf:c> columbia </c> <rdf:d> 10.90 </d> <rdf:e> 1985 </e> </rdf:description> 再来看一份规范: <xsd:attributegroup name="beanattributes"> ? <xsd:attribute name="name" type="xsd:string"> ? <xsd:annotation> ? <xsd:documentation> can be used to create one or more aliases illegal in an (xml) id. multiple aliases can be separated by any number of spaces, commas, or semi-colons (or indeed any mixture of the three). </xsd:documentation> </xsd:annotation> </xsd:attribute> ? <xsd:attribute name="class" type="xsd:string"> ? <xsd:annotation> ? <xsd:documentation source="java:java.lang.class"> the fully qualified name of the bean's class, except if it pure serves as parent for child bean definitions. </xsd:documentation> </xsd:annotation> </xsd:attribute> | | |
|