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

RE: RE: XSD - Validator problem

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

RE: RE:  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: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]


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.