[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XSV - Instance Validation Problem

  • To: xml-dev@l...
  • Subject: XSV - Instance Validation Problem
  • From: Doug Rudder <drudder@d...>
  • Date: Mon, 13 Dec 2004 13:26:13 -0600

how to run xsv
Forgive the XSV newbie question, but I'm getting an crash when running XSV
locally against an XML document.  I successfully ran XSV against the schema
(both online and locally), but now I'm trying to validate an instance doc
against the schema and getting the following message:

<?xml version='1.0'?>
<xsv xmlns="http://www.w3.org/2000/05/xsv" crash="true"
docElt="{None}monograph"
     instanceAssessed="true" instanceErrors="0" rootType="[Anonymous]"
     schemaErrors="0" schemaLocs="None -> imm.xsd"
     target="file:///c:/xml/conversion/medfacts-imm/allegra2.xml"
     validation="strict" version="XSV 2.8-1 of 2004/07/01 13:14:57">
  <schemaDocAttempt URI="file:///c:/xml/conversion/medfacts-imm/imm.xsd"
                    outcome="success" source="schemaLoc"/>
  <schemaDocAttempt
URI="file:///c:/xml/conversion/medfacts-imm/ipsshared.xsd"
                    outcome="success" source="include"/>
  <bug>validator crash during validation</bug>
</xsv>

Here is the beginning of the file I'm parsing (I've run it both with and
without the character entities DOCTYPE):

<?xml version="1.0"?>
<!DOCTYPE monograph [

<!ENTITY % spec-charsxml SYSTEM
     "spec-charsxml.ent" >
%spec-charsxml;

]>
<monograph id="fandc-medguide5804"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="imm.xsd">
...
</monograph>

And this is what I entered at the command line:

xsv -o errfile file:///c:/xml/conversion/medfacts-imm/allegra2.xml

I have also tried removing the schema ref from the instance and listed it on
the command line, with the same errfile result.

Thanks for any help.  If I should take this question elsewhere, let me know.

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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