being a complete noob i dont know what should i do
I would really be grateful for the help. ]]>Drd 2011-08-11T13:03:30-00:00Re: Simple type restrictionhttps://www.eclipse.org/forums/index.php/mv/msg/234563/714763/#msg_714763
Drd 2011-08-11T13:06:45-00:00Re: Simple type restrictionhttps://www.eclipse.org/forums/index.php/mv/msg/234563/714778/#msg_714778
Drd 2011-08-11T13:32:53-00:00Re: Simple type restrictionhttps://www.eclipse.org/forums/index.php/mv/msg/234563/714819/#msg_714819
On 11/08/2011 6:32 AM, Drd wrote:
> how can I delete this identical thread? can I ?]]>Ed Merks2011-08-11T14:53:32-00:00Re: Simple type restrictionhttps://www.eclipse.org/forums/index.php/mv/msg/234563/714820/#msg_714820
On 11/08/2011 6:03 AM, Drd wrote:
> 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 'http://www.w3schools.com', but
> components from this namespace are not referenceable from schema
> document
> 'file:///C:/Documents%20and%20Settings/adurnea/workspace/Schema/MyFiles/config.xsd'.
It sounds like there isn't an import statement for its schema.
> 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'.
Yep.
>
> 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
Do you know what an <xs:import> is for?
> I would really be grateful for the help.]]>Ed Merks2011-08-11T14:55:01-00:00Re: Simple type restrictionhttps://www.eclipse.org/forums/index.php/mv/msg/234563/715077/#msg_715077
Drd 2011-08-12T10:05:12-00:00Re: Simple type restrictionhttps://www.eclipse.org/forums/index.php/mv/msg/234563/715078/#msg_715078
Drd 2011-08-12T10:08:59-00:00Re: Simple type restrictionhttps://www.eclipse.org/forums/index.php/mv/msg/234563/715090/#msg_715090
Drd 2011-08-12T10:43:09-00:00Re: Simple type restrictionhttps://www.eclipse.org/forums/index.php/mv/msg/234563/715100/#msg_715100
i had problems because this was faulty
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3schools.com" elementFormDefault="qualified">
changed it to
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
and it worked
]]>Drd 2011-08-12T11:13:37-00:00Re: Simple type restrictionhttps://www.eclipse.org/forums/index.php/mv/msg/234563/715166/#msg_715166
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
What have you done so far to try to answer this on your own? In
general, you should expect people helping you to invest <b>less
effort </b>than you've invested yourself.<br>
<br>
<br>
On 12/08/2011 3:05 AM, Drd wrote:
<blockquote cite="mid:j22t8s$gor$1@news.eclipse.org" type="cite">nope
i do not i would like to know and be thought </blockquote>
</body>
</html>]]>Ed Merks2011-08-12T15:01:27-00:00Re: Simple type restrictionhttps://www.eclipse.org/forums/index.php/mv/msg/234563/715966/#msg_715966
Drd 2011-08-16T06:14:41-00:00