XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
sundar divasSubject: Quick reply needed
Author: sundar divas
Date: 20 Nov 2007 02:31 AM
Can someone please reply to this topic quickly

http://www.stylusstudio.com/SSDN/default.asp?fid=48

Postnext
sundar divasSubject: Quick reply needed
Author: sundar divas
Date: 20 Nov 2007 02:32 AM
I mean this one

Subject: Unable to locate a reference to a supported scheme type
Author: Isabella Hinterl
Date: 06 Nov 2005 08:09 AM
Hi,

I want to try out an XSLT file from the Altova XML Spy and if I want to validate the file I get the following message:
Unable to locate a reference to a supported schema type (DTD, W3C Schema)
within this document instance.
Anyone knows what can be the causwe of this?
The document is well formed, but can't be validated then.
i'd be glad if so. can help me.

Greetings Isabella

Postnext Replyreply Reply/Quotequote
Clyde KesselSubject: Unable to locate a reference to a supported scheme type
Author: Clyde Kessel
Date: 06 Nov 2005 10:21 AM
Hello Isabella,

Can you give us some more details? Are you trying to validate the .xslt file, or the output after running the .xslt file? What are you doing (what menus or buttons are you clicking on, and which validation engine are you using) to validate the document?

Can you please send us the file you are trying to validate (as an attachment). If you are trying to validate the output of the .xslt, please send us that also.

Which version of Stylus you are using? (look in the menu Help->About Stylus Studio).

In order to validate a document, it must have a schema. That can be an internal DTD (the DTD is in the document), or it can be an external .xsd schema file. Does your document have one of those?


Thankyou very much
Clyde

Posttop Replyreply Reply/Quotequote editedit deletedelete
sundar divasSubject: Unable to locate a reference to a supported scheme type
Author: sundar divas
Date: 20 Nov 2007 02:28 AM
Well, I am facing the same problem.

In the xml file I am giving a reference to the xsl file by using href.

Do I need give reference in the xsl file also?

Help wil be appreciated

Thanks
sundar

Postnext
sundar divasSubject: Quick reply needed
Author: sundar divas
Date: 20 Nov 2007 02:33 AM
I mean this one

Subject: Unable to locate a reference to a supported scheme type
Author: Isabella Hinterl
Date: 06 Nov 2005 08:09 AM
Hi,

I want to try out an XSLT file from the Altova XML Spy and if I want to validate the file I get the following message:
Unable to locate a reference to a supported schema type (DTD, W3C Schema)
within this document instance.
Anyone knows what can be the causwe of this?
The document is well formed, but can't be validated then.
i'd be glad if so. can help me.

Greetings Isabella

Postnext Replyreply Reply/Quotequote
Clyde KesselSubject: Unable to locate a reference to a supported scheme type
Author: Clyde Kessel
Date: 06 Nov 2005 10:21 AM
Hello Isabella,

Can you give us some more details? Are you trying to validate the .xslt file, or the output after running the .xslt file? What are you doing (what menus or buttons are you clicking on, and which validation engine are you using) to validate the document?

Can you please send us the file you are trying to validate (as an attachment). If you are trying to validate the output of the .xslt, please send us that also.

Which version of Stylus you are using? (look in the menu Help->About Stylus Studio).

In order to validate a document, it must have a schema. That can be an internal DTD (the DTD is in the document), or it can be an external .xsd schema file. Does your document have one of those?


Thankyou very much
Clyde

Posttop Replyreply Reply/Quotequote editedit deletedelete
sundar divasSubject: Unable to locate a reference to a supported scheme type
Author: sundar divas
Date: 20 Nov 2007 02:28 AM
Well, I am facing the same problem.

In the xml file I am giving a reference to the xsl file by using href.

Do I need give reference in the xsl file also?

Help wil be appreciated

Thanks
sundar

Postnext
Alberto MassariSubject: Quick reply needed
Author: Alberto Massari
Date: 20 Nov 2007 02:52 AM
Hi Sundar,
you need to give us more informations (you are simply saying you have the same problem of a customer that didn't give enough informations and never replied to provide them...).

1) which version of Stylus Studio are you using?
2) what do you mean by "validate"? DTD/Schema validation don't use href to point to the schema
3) can you attach all the files involved (XML/XSLT/DTD/XSD..)

Thanks,
Alberto

Postnext
Sureau PrudhomeSubject: Quick reply needed-XML validation
Author: Sureau Prudhome
Date: 23 Nov 2007 12:17 PM
hello,
I get same message with the following XMl file;

===================================================
<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>

<precious_metals>
<topic>Precious Metals Price Evolution</topic>
<date>between 2004-2007, Nov.15th</date>
<year year="2004">
<platinum>878</platinum>
<gold>437</gold>
<silver>7.60</silver>
</year>
<year year="2005">
<platinum>965</platinum>
<gold>470</gold>
<silver>7.75</silver>
</year>
<year year="2006">
<platinum>1160</platinum>
<gold>617</gold>
<silver>12.75</silver>
</year>
<year year="2007">
<platinum>1425</platinum>
<gold>795</gold>
<silver>14.75</silver>
</year>
</precious_metals>
========================================================


Documentxmltest01.xml
XML test

Postnext
Minollo I.Subject: Quick reply needed-XML validation
Author: Minollo I.
Date: 23 Nov 2007 12:46 PM
This thread is getting a bit confused; what error do you get doing what with the XML file you posted?

Postnext
Sureau PrudhomeSubject: Quick reply needed-XML validation
Author: Sureau Prudhome
Date: 24 Nov 2007 09:33 AM


Hello,
This is the original question:
===============================================================
I want to try out an XSLT file from the Altova XML Spy and if I want to validate the file I get the following message:
Unable to locate a reference to a supported schema type (DTD, W3C Schema)
within this document instance.
=================================================================
So far no answer was posted because missing info./xml example file.
I posted a simple xml file.
Is parsed ok and checks ok for well-formedness. However, XMLspy does not validate this simple XML giving this message:

"Unable to locate a reference to a supported schema type (DTD, W3C Schema)within this document instance."

And the question is: What should I do to get this xml validated?
thank you.
best regards,
Sureau

Posttop
Minollo I.Subject: Quick reply needed-XML validation
Author: Minollo I.
Date: 25 Nov 2007 08:47 AM
It may not be clear, but this is a support forum for Stylus Studio users. If you are using different tools, the right approach would seem to contact their support channels rather than us.

About your question, if you want to validate an XML document, you should make the document reference an XML Schema or DTD (as the error message suggests); you can do that easily in Stylus Studio using its XML editor.

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.