Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems validating XML files against a schema

Status
Not open for further replies.

cxs00u

Programmer
Mar 14, 2003
9
GB
Hi,

I have been given a pre written XML schema and am trying to get it to validate a set of XML files. I can play around with the schema but unfortunately the XML files can not be edited.

The XML files all start:

<?xml version ="1.0"?>
<enterprise xml:lang="en-us">

and it appears the xml:lang="en-us" line throws up and error in the schema. The start of the schema looks like :

<?xml version="1.0" ?>
<!-- Generated by using BizTalk Editor on Tue, Sep 09 2003 01:28:22 PM -->
<!-- Copyright (c) Microsoft Corporation. All rights reserved. -->
<Schema name="enterprise" b:BizTalkServerEditorTool_Version="1.5" b:root_reference="enterprise" b:standard="XML" xmlns="urn:schemas-microsoft-com:xml-data" xmlns:b="urn:schemas-microsoft-com:BizTalkServer" xmlns:d="urn:schemas-microsoft-com:datatypes">


Could anyone help with how I would have to modify the start of the schema so that it would accept XML documents that have the xml:lang... line it them.

Thank you in advance

Craig
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top