<?xml version="1.0" encoding="UTF-8"?>











<rss version="2.0" xmlns:jf="http://www.jivesoftware.com/xmlns/jiveforums/rss">



<channel>
    <title>Support Forums: Message List - Schema Validation</title>
    <link>http://www.theserverside.com</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    
        <generator>Jive Forums Silver 5.5.30 (www.jivesoftware.com)</generator>
    
    <pubDate>Sun, 19 May 2013 02:27:48 -0400</pubDate>


    <item>

        <title>Common errors in xml and validate xml against xsd</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=22525</link>

        

        
            <description><![CDATA[used xerces 2.9.0<br/>Java 1.5 <br/>Mac osx<br/><br/>&lt;?xml version="1.0"?&gt;<br/>&lt;xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"&nbsp;&nbsp; &lt;!-- NO ERROR HERE&nbsp; AND xmlns:xsd&nbsp;...]]></description>
        

        <pubDate>Mon, 19 Apr 2010 11:34:22 -0400</pubDate>

        

        <jf:creationDate>Mon, 19 Apr 2010 11:34:22 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 19 Apr 2010 11:34:22 -0400</jf:modificationDate>
        <jf:date>Apr 19, 2010</jf:date>
        <jf:author>Anand Kumar</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Need Help Urgently</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=22525</link>

        

        
            <description><![CDATA[I am getting a same typical error message:<br>&quot; cvc-elt.1: Cannot find the declaration of element 'document' &quot;<br><br>here &lt;document&gt; is my root element of the XML.<br><br>My Code is as follows :<br><br>XML<br>===<br><br>&lt;?xml...]]></description>
        

        <pubDate>Thu, 23 Mar 2006 14:04:30 -0500</pubDate>

        

        <jf:creationDate>Thu, 23 Mar 2006 14:04:30 -0500</jf:creationDate>
        <jf:modificationDate>Thu, 23 Mar 2006 14:04:30 -0500</jf:modificationDate>
        <jf:date>Mar 23, 2006</jf:date>
        <jf:author>Deval Parikh</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Urgent Need Help</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=22525</link>

        

        
            <description><![CDATA[Hi,<br><br>Can you please mail me what can be the problem?<br><br>My USGAAP schema contains following: -<br><br>&lt;schema attributeFormDefault=&quot;unqualified&quot; xmlns:link=&quot;<a class="jive-link-external"...]]></description>
        

        <pubDate>Wed, 08 Mar 2006 02:26:38 -0500</pubDate>

        

        <jf:creationDate>Wed, 08 Mar 2006 02:26:38 -0500</jf:creationDate>
        <jf:modificationDate>Wed, 08 Mar 2006 02:26:38 -0500</jf:modificationDate>
        <jf:date>Mar 8, 2006</jf:date>
        <jf:author>Samata Vyas</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Schema Validation</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=22525</link>

        

        
            <description><![CDATA[I was getting simlar errors until I changed my URL from file:// to file///<br><br>I have an entry about it in my blog<br><br><a href="http://khylo.blogspot.com/2005/08/more-xml-schema-validation.html"...]]></description>
        

        <pubDate>Thu, 25 Aug 2005 13:48:50 -0400</pubDate>

        

        <jf:creationDate>Thu, 25 Aug 2005 13:48:50 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 25 Aug 2005 13:48:50 -0400</jf:modificationDate>
        <jf:date>Aug 25, 2005</jf:date>
        <jf:author>Keith Hyland</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Schema Validation</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=22525</link>

        

        
            <description><![CDATA[<blockquote>Hi Paul,<br>The xsd gets resolved.<br>But getting the following error now:<br>Thanks<br>Sudhir</blockquote><br>Hi Sudhir,<br>I am getting error like<br>Error Line 5: cvc-elt.1: Cannot find the declaration of element 'OrderName'.<br><br>You...]]></description>
        

        <pubDate>Tue, 21 Jun 2005 03:52:23 -0400</pubDate>

        

        <jf:creationDate>Tue, 21 Jun 2005 03:52:23 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 21 Jun 2005 03:52:23 -0400</jf:modificationDate>
        <jf:date>Jun 21, 2005</jf:date>
        <jf:author>Sumit Acharya</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>I meet the similar problem---do validation in DOM</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=22525</link>

        

        
            <description><![CDATA[Dear all:<br>i meet a similar problem in XML validation using java, DOM and XML schema. <br>As far as i know, there is a bit difference between DOMParser and JAXP. in JAXP we can use as follow:<br><br>factory =...]]></description>
        

        <pubDate>Tue, 10 May 2005 12:35:50 -0400</pubDate>

        

        <jf:creationDate>Tue, 10 May 2005 12:35:50 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 10 May 2005 12:35:50 -0400</jf:modificationDate>
        <jf:date>May 10, 2005</jf:date>
        <jf:author>Sai ZHANG</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Schema Validation</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=22525</link>

        

        
            <description><![CDATA[Hi, I'm validating my XML files with XSD using dom4j. I just tried Jean-Pol's code, but I'm still getting this error. Whatever I do, I get this wierd error and I don't know why<br><br><br>org.xml.sax.SAXNotRecognizedException: Feature: <a...]]></description>
        

        <pubDate>Mon, 02 May 2005 10:30:18 -0400</pubDate>

        

        <jf:creationDate>Mon, 02 May 2005 10:30:18 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 02 May 2005 10:30:18 -0400</jf:modificationDate>
        <jf:date>May 2, 2005</jf:date>
        <jf:author>Maxime Daigneault</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Needed some inforamation</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=22525</link>

        

        
            <description><![CDATA[Jeff .it wud be great if you can reply me back at<br>roshan@soncisoftware.com]]></description>
        

        <pubDate>Mon, 02 May 2005 03:10:39 -0400</pubDate>

        

        <jf:creationDate>Mon, 02 May 2005 03:10:39 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 02 May 2005 03:10:39 -0400</jf:modificationDate>
        <jf:date>May 2, 2005</jf:date>
        <jf:author>Kumar Roshan</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Needed some inforamation</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=22525</link>

        

        
            <description><![CDATA[I am trying to do XML Fragment validation using the xerces API .<br>I just saw your post. Can you give me some details as to how to get PSVI for an XML Fragment(i.e. part of the xml document instance) using xerces API.]]></description>
        

        <pubDate>Mon, 02 May 2005 03:08:49 -0400</pubDate>

        

        <jf:creationDate>Mon, 02 May 2005 03:08:49 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 02 May 2005 03:08:49 -0400</jf:modificationDate>
        <jf:date>May 2, 2005</jf:date>
        <jf:author>Kumar Roshan</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>small Problem with schema Validation of xml SAX</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=22525</link>

        

        
            <description><![CDATA[<blockquote><blockquote>i am using Xerces-J 2.6.2.My Q is, 1)do I have to have xsi:schemaLocation=&quot;<a class="jive-link-external" href="http://www.xyz.com" target="_newWindow">http://www.xyz.com</a>  file://c:/dir1/schema1.xsd&quot; in the XML...]]></description>
        

        <pubDate>Wed, 20 Apr 2005 10:52:45 -0400</pubDate>

        

        <jf:creationDate>Wed, 20 Apr 2005 10:52:45 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 20 Apr 2005 10:52:45 -0400</jf:modificationDate>
        <jf:date>Apr 20, 2005</jf:date>
        <jf:author>Jean-Pol Landrain</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>small Problem with schema Validation of xml SAX</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=22525</link>

        

        
            <description><![CDATA[<blockquote>i am using Xerces-J 2.6.2.My Q is, 1)do I have to have xsi:schemaLocation=&quot;<a class="jive-link-external" href="http://www.xyz.com" target="_newWindow">http://www.xyz.com</a>  file://c:/dir1/schema1.xsd&quot; in the XML Instance document,...]]></description>
        

        <pubDate>Wed, 20 Apr 2005 10:02:48 -0400</pubDate>

        

        <jf:creationDate>Wed, 20 Apr 2005 10:02:48 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 20 Apr 2005 10:02:48 -0400</jf:modificationDate>
        <jf:date>Apr 20, 2005</jf:date>
        <jf:author>Jean-Pol Landrain</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Schema Validation</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=22525</link>

        

        
            <description><![CDATA[<blockquote>I have to admit that I have only used the EntityResolver trick for DTD.</blockquote>This trick helped me for to validate against a schema with Xerces2-J. Thank you very much.<br>As it may help others too, here is the...]]></description>
        

        <pubDate>Wed, 20 Apr 2005 09:51:57 -0400</pubDate>

        

        <jf:creationDate>Wed, 20 Apr 2005 09:51:57 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 20 Apr 2005 09:51:57 -0400</jf:modificationDate>
        <jf:date>Apr 20, 2005</jf:date>
        <jf:author>Jean-Pol Landrain</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>small Problem with schema Validation of xml SAX</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=22525</link>

        

        
            <description><![CDATA[i am using Xerces-J 2.6.2.<br>My Q is, <br>1)do I have to have xsi:schemaLocation=&quot;<a class="jive-link-external" href="http://www.xyz.com" target="_newWindow">http://www.xyz.com</a>  file://c:/dir1/schema1.xsd&quot; in the XML Instance document, in...]]></description>
        

        <pubDate>Wed, 05 Jan 2005 13:35:17 -0500</pubDate>

        

        <jf:creationDate>Wed, 05 Jan 2005 13:35:17 -0500</jf:creationDate>
        <jf:modificationDate>Wed, 05 Jan 2005 13:35:17 -0500</jf:modificationDate>
        <jf:date>Jan 5, 2005</jf:date>
        <jf:author>Kusi Chen</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>Schema Validation</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=22525</link>

        

        
            <description><![CDATA[Forgot to add this. I do XML fragment validation so I don't have a schema def in the XML. Add this just after the schemaLanguage def.<br><br>db.setAttribute(<br>&nbsp;&nbsp;&quot;<a class="jive-link-external"...]]></description>
        

        <pubDate>Tue, 17 Aug 2004 00:45:37 -0400</pubDate>

        

        <jf:creationDate>Tue, 17 Aug 2004 00:45:37 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 17 Aug 2004 00:45:37 -0400</jf:modificationDate>
        <jf:date>Aug 17, 2004</jf:date>
        <jf:author>Jeff Stout</jf:author>
        <jf:replyCount>5</jf:replyCount>
    </item>


    <item>

        <title>Schema Validation</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=22525</link>

        

        
            <description><![CDATA[I can only speak for Xerces-J 2.6.2 since that's what I'm using, but you can nuke the resolveEntity() and add:<br><br>db.setNamespaceAware(true);]]></description>
        

        <pubDate>Tue, 17 Aug 2004 00:11:57 -0400</pubDate>

        

        <jf:creationDate>Tue, 17 Aug 2004 00:11:57 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 17 Aug 2004 00:11:57 -0400</jf:modificationDate>
        <jf:date>Aug 17, 2004</jf:date>
        <jf:author>Jeff Stout</jf:author>
        <jf:replyCount>6</jf:replyCount>
    </item>



</channel>
</rss>

