hello all!
if I put the restriction manual without predefining it i get this error:
src-resolve.4.2: Error resolving component 'spatii'. It was detected that 'spatii' is in namespace ' but components from this namespace are not referenceable from schema document 'file:///C:/Documents%20and%20Settings/adurnea/workspace/Schema/MyFiles/config.xsd'. If this is the incorrect namespace, perhaps the prefix of 'spatii' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:///C:/Documents%20and%20Settings/adurnea/workspace/Schema/MyFiles/config.xsd'.
this is the implementation i use:
<xs:element name="nume" type="spatii"/>
<xs:simpleType name="spatii">
<xs:restriction base="xs:string">
<xsattern value="[a-zA-Z0-9.]+"/>
</xs:restriction>
</xs:simpleType>
being a complete noob i dont know what should i do
I would really be grateful for the help.
if I put the restriction manual without predefining it i get this error:
src-resolve.4.2: Error resolving component 'spatii'. It was detected that 'spatii' is in namespace ' but components from this namespace are not referenceable from schema document 'file:///C:/Documents%20and%20Settings/adurnea/workspace/Schema/MyFiles/config.xsd'. If this is the incorrect namespace, perhaps the prefix of 'spatii' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:///C:/Documents%20and%20Settings/adurnea/workspace/Schema/MyFiles/config.xsd'.
this is the implementation i use:
<xs:element name="nume" type="spatii"/>
<xs:simpleType name="spatii">
<xs:restriction base="xs:string">
<xsattern value="[a-zA-Z0-9.]+"/>
</xs:restriction>
</xs:simpleType>
being a complete noob i dont know what should i do
I would really be grateful for the help.