[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSD - Validator problem

  • From: George Cristian Bina <george@o...>
  • To: Sebastian Hinterwälder <sebi-hinterwaelder@g...>
  • Date: Tue, 02 Oct 2007 12:27:37 +0300

Re:  XSD - Validator problem
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]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.