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: [xml-dev] XSD - Validator problem

 
Speaking on behalf of Altova, using the latest release of XMLSpy, I found no errors either. I threw in some more lines to complete your schema and XMLSpy flagged no errors.

<?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">
		<annotation>
			<appinfo>
SFBool is a logical type with possible values (true|false) to match the XML boolean type.
Hint:  X3D SFBool values are lower case (true|false) in order to maintain
compatibility with other XML documents.</appinfo>
			<documentation source="http://www.web3d.org/x3d/specifications/ISO-IEC-19775-FDIS-X3dAbstractSpecification/Part01/fieldsDef.html#SFBool"/>
		</annotation>
		<restriction base="boolean"/>
	</simpleType>
	</schema>


By the way, you didn't mention which version of the software you're using. I believe your issue may be due to a control character at the beginning of the file. If you're using XMLSpy 2008, then this will be visible.

Best Regards,

... Gerald D. Sheehan
... Pre-Sales Engineer
... Altova, Inc.

===================================================================
Altova®  accelerates  application development  and  data management
projects with  software  and  solutions  that enhance  productivity
and maximize results. Uncover why Altova is the preferred choice of
over three million users worldwide! Look into www.altova.com today!
===================================================================

Altova,  XMLSpy, MapForce, StyleVision, SemanticWorks, SchemaAgent,
UModel, DiffDog, DatabaseSpy, AltovaXML, Authentic,  and MissionKit
are trademarks and/or  registered trademarks of  Altova GmbH in the 
United States,  the European Union,  and  numerous other countries.
The information transmitted in this message and/or as an attachment
to it  is intended  only for the  person or  entity to  which it is
addressed and may contain confidential  and/or privileged material.
Any  review,  retransmission,  dissemination  or  other use of,  or
taking of any action in reliance upon,  this information by persons
or entities other than the intended recipient is prohibited. If you
received this in error,  please contact  the sender  and delete the
material from any computer.  Altova GmbH  and  Altova, Inc.  do not
accept legal responsibility  for the contents of this message.  Any
views or opinions  presented are solely  those of the author and do
not  necessarily  represent those of  Altova GmbH and  Altova, Inc.
unless otherwise specifically stated. Thank you!

-----Original Message-----
From: "Sebastian Hinterwälder" [mailto:sebi-hinterwaelder@gmx.de] 
Sent: Monday, October 01, 2007 9:07 AM
To: xml-dev@lists.xml.org
Subject: [xml-dev] XSD - Validator problem

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"/>

...



--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS to support XML implementation and development. To minimize spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php




[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