[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] XSD - Validator problem
- From: George Cristian Bina <george@oxygenxml.com>
- To: Sebastian Hinterwälder <sebi-hinterwaelder@gmx.de>
- Date: Tue, 02 Oct 2007 12:27:37 +0300
There is no error I can spot in the fragment you posted.
Note that if an error is reported with a location on the first line of
the schema that does not necessarily mean that the error is really on
that line, it may be an error that does not have a specific location or
it may be that the validation engine is not able to provide a
better/specific location for that error.
I do not know XML Spy but other tools like oXygen and Stylus offer
support for validation against multiple engines. If multiple engines
report the same error on the schema then there are good chances they are
correct and you have a problem with the schema - also they usually
provide a slightly different description of the error so as you get
multiple ways of saying the same thing it is easier to understand the
actual problem.
Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina - http://aboutxml.blogspot.com/
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Sebastian Hinterwälder wrote:
> Hi,
>
> I have a problem and hope someone might help me. In my work with Extensible Textual Format I wanted to use an schema file that I found within an IBM project. I used "XML-Spy" to validate the schema and everytime it throws an error in the first line of code. I really don't see any error there. Maybe somone of you knows it. Therefore I posted the first lines of code above. Is there maybe a difference in the specification of schema that different validators use?
>
>
> Thanks for help, Sebastian
>
> <?xml version="1.0" encoding="UTF-8"?>
> <schema xmlns="http://www.w3.org/2001/XMLSchema"
> xmlns:xmta="urn:mpeg:mpeg4:xmta:schema:2002"
> targetNamespace="urn:mpeg:mpeg4:xmta:schema:2002" elementFormDefault="qualified">
> <annotation>
> <documentation> eXtensible MPEG Textual (XMT-A) format Schema </documentation>
> </annotation>
> <annotation>
> <documentation> Field types </documentation>
> </annotation>
> <simpleType name="SFBool">
> <restriction base="boolean"/>
>
> ...
>
>
>
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]