[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Michael Kay" <mike@s...>
  • To: '"Sebastian Hinterwälder"' <sebi-hinterwaelder@g...>,<xml-dev@l...>
  • Date: Tue, 2 Oct 2007 14:01:45 +0100

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:sebi-hinterwaelder@g...] 
> Sent: 02 October 2007 13:52
> To: Michael Kay; xml-dev@l...
> Subject: Re: RE:  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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member