RE: RE: [xml-dev] XSD - Validator problem

From
Michael Kay <>
To
"'\"Sebastian Hinterwälder\"'" <>,
Date
2007-10-02T13:01:45Z
ID
<00e401c804f4$64bdc9b0$6401a8c0@turtle>
Thread
RE: RE: [xml-dev] XSD - Validator problem
There might be a blank line before the XML declaration (which will be
visible), or there might be invisible stuff like a byte order mark.

Michael Kay
http://www.saxonica.com/
 

> -----Original Message-----
> From: "Sebastian Hinterwälder" [mailto:] 
> Sent: 02 October 2007 13:52
> To: Michael Kay; 
> Subject: Re: RE: [xml-dev] XSD - Validator problem
> 
> Hello , thanks for your replies
> 
> 
> > I don't either. If you told us what the error message was, then we 
> > might have some idea. Or try and reproduce it with a smaller sample 
> > that you can post in full and we can run for ourselves.
> 
> I started the validator again and here is the error it throws:
> 
> 
> Character '<' is grammatically unexpected in column 1 at line 1
> 	Reason: one of the following is expected (see below)
> 		'&'
> 		'&#'
> 		'&#x'
> 		'<!--'
> 		'<![CDATA['
> 		'</'
> 		'<?'
> 		element
> 	Details
> 		XML production: Production 'content' not satisfied.
> 
> 
> 
> 
> Actually I don't understand what it means because I use the 
> supposed characters as you can see in my code:
> 
> <?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>
> 
> 
> So I hope you have an idea! Thanks 
> 
> Sebastian
> --
> Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
> Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer