XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
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:sebi-hinterwaelder@gmx.de] 
> Sent: 02 October 2007 13:52
> To: Michael Kay; xml-dev@lists.xml.org
> 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



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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS