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

Validate XSD

Subject: Validate XSD
From: "Sachidanandam E.K" <sachidanandam.kumaraswamy@xxxxxxxxxxxxxx>
Date: Tue, 15 May 2001 20:51:16 +0530
validate xsd
Hi there,
   I had a XSD file and a XML file like below. I want to validate it. Once I
am trying for it. I am geting a error. Help me out..

HELPInfo.xml

<VIMHelp xmlns="x-schema:VIMHelpSchema.xml">
 <HelpInfo>
  <HelpID>HID_FILTERDIALOG</HelpID>
  <FileString>dhtmlTree.chm::/FilterDialog.htm</FileString>
 </HelpInfo>
 <HelpInfo>
  <HelpID>HID_CHECKUPDATES</HelpID>
  <FileString>dhtmlTree.chm::/CheckUpdates.htm</FileString>
 </HelpInfo>
 <HelpInfo>
  <HelpID>HID_CHOOSE VIM ITEM</HelpID>
  <FileString>dhtmlTree.chm::/ChooseVIMItem.htm</FileString>
 </HelpInfo>
 <HelpInfo>
  <HelpID>HID_SUBMITVIMATOM</HelpID>
  <FileString>dhtmlTree.chm::/SubmitVIMAtom.htm</FileString>
 </HelpInfo>
 <HelpInfo>
  <HelpID>HID_CONFIRMUPGRADE</HelpID>
  <FileString>dhtmlTree.chm::/Confirmupgrade.htm</FileString>
 </HelpInfo>
 <HelpInfo>
  <HelpID>HID_GENERAL HELP</HelpID>
  <FileString>dhtmlTree.chm::/GeneralHelp.htm</FileString>
 </HelpInfo>
 <HelpInfo>
  <HelpID>HID_NEWVIMPROJECT</HelpID>
  <FileString>dhtmlTree.chm::/NewVIMProject.htm</FileString>
 </HelpInfo>
 <HelpInfo>
  <HelpID>HID_COMPONENTATOMPROPERTIES</HelpID>
  <FileString>dhtmlTree.chm::/ComponentAtomProperties.htm</FileString>
 </HelpInfo>
</VIMHelp>

VIMHelpSchema.xsd

<xsd:schema id="VIMHelpSchema"
targetNameSpace="http://raghavapc/VIMHelpSchema.xml"
xmlns="http://raghavapc/VIMHelpSchema.xml"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
 <xsd:complexType name ="HelpInfo">
  <xsd:sequence>
  <xsd:element name="HelpID" type="xsd:string"/>
  <xsd:element name="FileString" type="xsd:string"/>
  </xsd:sequence>
 </xsd:complexType>
</xsd:schema>

Error which I am geting

Error opening the input file VIMHelpSchema.xml . Incorrect defenition for
the root element in schema.
Line 2 position 46.

Looking for help..

Cheers!!
Sachi




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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
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.