Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
| Search | Today's Posts | Mark Forums Read
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old March 2nd, 2004, 12:22 PM
Registered User
 
Join Date: Nov 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Trouble validating an XML document with a Schema

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


<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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble nesting elements in a schema yossarian XML 1 February 22nd, 2005 05:30 PM
Validating XML Schema lmadhavi XML 0 November 18th, 2004 06:58 AM
having trouble with document object elladi Javascript 1 November 17th, 2004 09:00 PM
Validating XML sunilyenpure XML 3 July 13th, 2004 12:11 AM
XML, XML Schema, JavaScript, ASP cyberjames2003 XML 0 June 4th, 2003 04:49 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.