这是头:<xs:schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xs="http//www.w3.org/2001/XMLSchema" 
targetNamespace="http://www.test.cn“
elementFormDefault="qualified">然后:
<xs:attribute name="id" type="xs:string">
        <xs:annotation>
            <xs:documentation>formatter.attribute.id</xs:documentation>
        </xs:annotation>
    </xs:attribute>
最后:
<xs:attributeGroup name="someAttributes">
        <xs:attribute ref="id"/>
    </xs:attributeGroup>
在eclipse中属性组里面的attribute和ref里面的id下面都显示了红色的波浪线,就是报错了,错误内容是:
Multiple annotations found at this line:
    - s4s-elt-must-match.1: The content of 'rowAttributes' must match (annotation?, ((attribute | attributeGroup)*, anyAttribute?)). A problem was found starting at: attribute.
    - src-resolve.4.2: Error resolving component 'id'. It was detected that 'id' is in namespace 'http://www.w3.org/2001/XMLSchema', but components from this namespace are not referenceable from 
     schema document 'file:///C:/src/cn/test/formatter/formatter.xsd'. If this is the incorrect namespace, perhaps the prefix of 'id' needs to be 
     changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:///C:/src/cn/test/formatter/formatter.xsd'.xmlschemaref- src-resolve.4.2- s4s-elt-