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:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old February 21st, 2001, 02:01 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 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: 22
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


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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway