Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Xerces  RSS feed

 
jenni
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can run xerces examples on redhat 7.1 but not on AIX 4.3. I hope some experts can help me.

Re: Xerces2 Schema Validation
Author: gyhlee
In Reply To: Re: Xerces2 Schema Validation Jul 24, 2002 6:25 PM
Reply 3 of 3

On redhat 7.1,
$ls
dom Makefile personal-schema.xml personal.xsd sax ui util
$ java dom/DOMFilter -v personal-schema.xml
personal-schema.xml:
<personnel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLoca
tion="personal.xsd">
<person contr="false" id="Big.Boss">
<name>
<family>
<given>
<email>
<link subordinates="one.worker two.worker three.worker four.worker five.worker">
<person contr="false" id="one.worker">
<name>
<family>
<given>
<email>
<link manager="Big.Boss">
<person contr="false" id="two.worker">
<name>
<family>
<given>
<email>
<link manager="Big.Boss">
<person contr="false" id="three.worker">
<name>
<family>
<given>
<email>
<link manager="Big.Boss">
<person contr="false" id="four.worker">
<name>
<family>
<given>
<email>
<link manager="Big.Boss">
<person contr="false" id="five.worker">
<name>
<family>
<given>
<email>
<link manager="Big.Boss">
On AIX version 4,
$ java dom/DOMFilter -v personal-schema.xml
personal-schema.xml:
org.xml.sax.SAXNotRecognizedException: http://apache.org/xml/features/validation/schema-
full-checking
at org.apache.xerces.framework.XMLParser.setFeature(XMLParser.java:1230)
at org.apache.xerces.parsers.DOMParser.setFeature(DOMParser.java:655)
at dom.wrappers.DOMParser.setFeature(DOMParser.java:119)
at dom.DOMFilter.print(DOMFilter.java:120)
at dom.DOMFilter.main(DOMFilter.java:333)
 
Rob Ross
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi "jenni",
Welcome to JavaRanch!
Please change your name to comply with the naming policy to which you agreed when you registered here..

For your publicly displayed name,
use a first name, a space, and a last name.

You can change your name:
here

You can also find the naming policy:
here
Thank You!
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps your AIX system has another parser that the JVM is finding first?
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!