Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old February 21st, 2001, 03:01 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 23
DTD/Schema not defined for the root element.

<i><b>Originally posted by : Rajesh.D (dasarirajesh@yahoo.com)</b></i><br /><br />1.We have created a Schema using Biztalk editor and stored to webdev.<br />2.Using create xml instance(from tool menu in biztalk editor) we have created the xml file for the above schema.<br />3.We have used the above schema as inbound and outbound document in a channel which is linked to some port.<br />4.Using polling receive function of biztalk we are polling for the above xml file in a folder. This receive function is linked to the above channel.<br /><br />Schema created is pasted below<br />-------------------------------<br /><br /><br /><?xml version="1.0"?><br /><!-- Generated using Microsoft BizTalk Editor on Tue, Feb 20 2001 03:14:57 PM --><br /><!-- Microsoft Corporation (c) 2000 (http://www.microsoft.com) --><br /><Schema name="Demo" b:BizTalkServerEditorTool_Version="1.0" b:root_reference="Demo" <br />b:standard="XML" <br />xmlns="urn:schemas-microsoft-com:xml-data" <br />xmlns:b="urn:schemas-microsoft-com:BizTalkServer" <br />xmlns:d="urn:schemas-microsoft-com:datatypes"><br /><br /><b:SelectionFields/><br /><ElementType name="Message" content="empty" model="closed"><br /><b:RecordInfo/><br /><AttributeType name="MessageID" d:type="string" d:maxLength="50"><br /><b:FieldInfo/></AttributeType><br /><attribute type="MessageID" required="no"/><br /></ElementType><ElementType name="Email" content="empty" model="closed"><br /><b:RecordInfo/><br /><AttributeType name="EmailID" d:type="string" d:maxLength="30" d:minLength="2"><br /><b:FieldInfo/></AttributeType><br /><attribute type="EmailID" required="no"/><br /></ElementType><ElementType name="Demo" content="eltOnly" model="open"><br /><b:RecordInfo/><br /><element type="Email" maxOccurs="1" minOccurs="0"/><br /><element type="Message" maxOccurs="1" minOccurs="0"/><br /></ElementType></Schema><br /><br />---------------------------------<br /><br /><br />The xml file for the above schema<br />---------------------------------<br /><br /><Demo><br /><Email EmailID="draj"/><br /><Message MessageID="Good morning"/><br /></Demo><br /><br />Problem:<br />---------<br />When the polling function works. It is generating an error saying DTD/Schema not defined for the root element.<br /><br />Note:<br />-----<br />When we changed the xml file as below, It is working fine. Here we have defined the schema path in the root element of xml file. But as per our understanding it should take schema path from the inbound and outbound document specified in channel. <br /><br /><Demo xmlns="x-schema:http://localhost/biztalkserverrepository/docspecs/demo/mail1.xml"><br /><Email EmailID="draj"/><br /><Message MessageID="Good morning"/><br /></Demo><br /><br /><br />Any reply to this is highly appreciated<br />Thanks in advance<br />Rajesh

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > DTD/Schema not defined for the root element.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek