- From: Volker Zink <Volker.Zink@porabo.ch>
- Date: Wed, 18 Aug 2004 15:41:48 +0200
- To: George Cristian Bina <george@sync.ro>
- CC: Burak Emir <Burak.Emir@epfl.ch>, xmlschema-dev@w3.org
- Message-ID: <41235C9C.7060401@porabo.ch>
You are right. I just replied in FIFO-order. It took some time to reply
because i have work with higher priority too. Sorry for "disregarding"
your post, but i would have replied even if you wouldnt have sent your
reminder :-)
You directly pointed to whats wrong with the schema. Thats what i was
looking for (i just included the elementFormDefault and its now without
errors).
Thanks a lot. Really.
Volker Zink
George Cristian Bina schrieb:
> Volker,
>
> I explained you the problem in my previous post.
> If you just add elementFormDefault="qualified" to your schema the
> instance document will be validated without problems.
>
>
> <schema xmlns="http://www.w3.org/2001/XMLSchema"
> xmlns:plem="grips://xml.recom-verlag.de/comm/plem"
> targetNamespace="grips://xml.recom-verlag.de/comm/plem"
> elementFormDefault="qualified"
> ...
>
> Hope that helps,
> George
> -----------------------------------------------
> George Cristian Bina
> <oXygen/> XML Editor & XSLT Editor/Debugger
> http://www.oxygenxml.com
>
>
> Volker Zink wrote:
>
>> Hello,
>>
>> 1. The Error mentioned was produced by the w3.org-Validator at
>> http://www.w3.org/2001/03/webdata/xsv. Normally i use the validator
>> in my programming environment (VisualWorks Smalltalk), but i trust
>> the one at w3.org more, and it has more detailed error
>> messages/warnings.
>>
>> 2. If i remove the "grips://xml.recom-verlag.de/comm/plem"-namespace
>> completely (including "plem:"-prefixes), i get following result
>> ----
>> PLEMGrips-Schema-Fall.xsd:6:5: Invalid: Undefined type
>> {http://www.w3.org/2001/XMLSchema}:FallImportExport referenced as
>> type definition of fallImportExport
>> Problems with the schema-validity of the target
>> ---
>>
>> I don't write an own validator. It just seems to me, that the
>> validator in VisualWorks has other results as the w3.org-validator,
>> so i want to know, whats really correct, and why.
>> As a programmer i use namespaces everyday. But XML-namespaces are a
>> bit strange to me compared to the namespaces in VisualWorks
>> Smalltalk. But probably because in XML its all about syntax, in
>> Smalltalk its about objects (classes). One object is in one
>> namespace. Thats quite easy.
>>
>> Volker
>
>
>
Received on Wednesday, 18 August 2004 13:42:36 UTC