You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2001/12/12 02:05:00 UTC

DO NOT REPLY [Bug 5369] New: - Xerces-1_4_4 sax.SaxCount errors while validating

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5369>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5369

Xerces-1_4_4  sax.SaxCount errors while validating 

           Summary: Xerces-1_4_4  sax.SaxCount errors while validating
           Product: Xerces-J
           Version: 1.4.4
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: SAX
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: ama@fgm.com


The following is my environment:

CLASSPATH=.;C:\j2sdkee1.3\lib;C:\jdk1.3.1\jre\lib;C:\jdk1.3.1\lib;C:\XBeans1.0\x
beans1dot0alpha.jar;C:\jaxp-1.1\jaxp.jar;C:\xerces-1_4_4\xerces.jar;C:\xalan-j_2
_2_D11\bin\xalanj1compat.jar;C:\xalan-j_2_2_D11\bin\xalan.jar;C:\VisualCafe\Java
\Lib;C:\VisualCafe\Java\Lib\SYMCLASS.ZIP;C:\VisualCafe\Java\Lib\CLASSES.ZIP;C:\V
isualCafe\Java\Lib\COLLECTIONS.ZIP;C:\VisualCafe\Java\Lib\ICEBROWSERBEAN.JAR;C:\
VisualCafe\Java\Lib\JSDK.JAR;C:\VisualCafe\Java\Lib\SYMTOOLS.JAR;C:\VisualCafe\J
FC\SWINGALL.JAR;C:\VisualCafe\Bin\Components\SFC.JAR;C:\VisualCafe\Bin\Component
s\SYMBEANS.JAR;C:\VisualCafe\Java\Lib\DBAW.ZIP;C:\VisualCafe\Bin\Components\DBAW
_AWT.JAR;C:\VisualCafe\Bin\Components\Databind.JAR;C:\VisualCafe\Java\Lib\Olite3
5.jar;C:\excelaccessor\lib\excelaccessor.jar;;c:\xerces-1_4_4\xerces.jar;c:\xerc
es-1_4_4\xercesSamples.jar
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=JIMSPC
ComSpec=C:\WINNT\system32\cmd.exe
CVSROOT=:ext:ama@coushatta:/usr/local/cvsroot
CVS_RSH=C:\usr\bin\plink.exe
HOME=C:\usr\ama
HOMEDRIVE=C:
HOMEPATH=\
J2EE_HOME=C:\j2sdkee1.3
JAVAHOME=C:\jdk1.3.1\jre
JAVA_HOME=C:\jdk1.3.1
JAXP=C:\jaxp-1.1
LOGONSERVER=\\JIMSPC
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Os2LibPath=C:\WINNT\system32\os2\dll;
Path=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\jdk1.3.1\bin;C:\j2sdke
e1.3\bin;C:\xalan-j_2_2_D11\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbe
m;C:\jdk1.3.1\bin;C:\j2sdkee1.3\bin;C:\xalan-j_2_2_D11\bin;;C:\usr\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 3, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0803
ProgramFiles=C:\Program Files
PROMPT=$P$G
SystemDrive=C:
SystemRoot=C:\WINNT
TEMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
TMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
USERDOMAIN=JIMSPC
USERNAME=Administrator
USERPROFILE=C:\Documents and Settings\Administrator
VIKINGROOT=C:\Program Files\Polexis\XIS Demo 1.4\viking
windir=C:\WINNT
XALAN=C:\xalan-j_2_2_D11
XBEANS=C:\XBeans1.0
XERCES=C:\xerces-1_4_4

The following is the command I entered:

C:\xerces-1_4_4>java sax.SAXCount -Nsv data\personal-schema.xml

The following are the error messages I get.

[Error] personal-schema.xml:3:50: Element type "personnel" must be declared.
[Error] personal-schema.xml:5:26: Element type "person" must be declared.
[Error] personal-schema.xml:6:11: Element type "name" must be declared.
[Error] personal-schema.xml:6:19: Element type "family" must be declared.
[Error] personal-schema.xml:6:41: Element type "given" must be declared.
[Error] personal-schema.xml:7:12: Element type "email" must be declared.
[Error] personal-schema.xml:8:86: Element type "link" must be declared.
[Error] personal-schema.xml:11:27: Element type "person" must be declared.
[Error] personal-schema.xml:12:11: Element type "name" must be declared.
[Error] personal-schema.xml:12:19: Element type "family" must be declared.
[Error] personal-schema.xml:12:43: Element type "given" must be declared.
[Error] personal-schema.xml:13:12: Element type "email" must be declared.
[Error] personal-schema.xml:14:31: Element type "link" must be declared.
[Error] personal-schema.xml:17:27: Element type "person" must be declared.
[Error] personal-schema.xml:18:11: Element type "name" must be declared.
[Error] personal-schema.xml:18:19: Element type "family" must be declared.
[Error] personal-schema.xml:18:43: Element type "given" must be declared.
[Error] personal-schema.xml:19:12: Element type "email" must be declared.
[Error] personal-schema.xml:20:31: Element type "link" must be declared.
[Error] personal-schema.xml:23:29: Element type "person" must be declared.
[Error] personal-schema.xml:24:11: Element type "name" must be declared.
[Error] personal-schema.xml:24:19: Element type "family" must be declared.
[Error] personal-schema.xml:24:43: Element type "given" must be declared.
[Error] personal-schema.xml:25:12: Element type "email" must be declared.
[Error] personal-schema.xml:26:31: Element type "link" must be declared.
[Error] personal-schema.xml:29:28: Element type "person" must be declared.
[Error] personal-schema.xml:30:11: Element type "name" must be declared.
[Error] personal-schema.xml:30:19: Element type "family" must be declared.
[Error] personal-schema.xml:30:43: Element type "given" must be declared.
[Error] personal-schema.xml:31:12: Element type "email" must be declared.
[Error] personal-schema.xml:32:31: Element type "link" must be declared.
[Error] personal-schema.xml:35:28: Element type "person" must be declared.
[Error] personal-schema.xml:36:11: Element type "name" must be declared.
[Error] personal-schema.xml:36:19: Element type "family" must be declared.
[Error] personal-schema.xml:36:43: Element type "given" must be declared.
[Error] personal-schema.xml:37:12: Element type "email" must be declared.
[Error] personal-schema.xml:38:31: Element type "link" must be declared.

What am I doing wrong??? Am I using the wrong options?
I want to perform XML Schema validation of the personal-schema.xml file.

Please advice.
Thanks...

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org