users@jaxb.java.net

problem about xs:choice

From: Amila Suriarachchi <amilas_at_eurocenter.lk>
Date: Thu, 4 Dec 2003 17:15:23 +0600

i used this simple schema
 
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" attributeFormDefault="unqualified">
      <xs:element name="Timing">
            <xs:complexType>
                  <xs:choice>
                        <xs:annotation>
                              <xs:appinfo>
                                    <jaxb:property name="Content"/>
                              </xs:appinfo>
                        </xs:annotation>
                        <xs:element name="Daily" type="xs:string"/>
                        <xs:element name="monthly" type="xs:string"/>
                        <xs:element name="yearly" type="xs:string"/>
                        <xs:element name="weekly" type="xs:string"/>
                  </xs:choice>
            </xs:complexType>
      </xs:element>
</xs:schema>
 
 
but I gives a compile error like this
[ERROR] The prefix "jaxb" for element "jaxb:property" is not bound.
  line 8 of testbinding.xsd