You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Richard Heintze <si...@yahoo.com> on 2002/08/17 00:54:28 UTC

Sample schema is broke?

Hi folks,

I just downloaded Xerces-J 2.0.2 and I cannot get
schema to work with the sample data. What am I doing
wrong?

   Thanks,
         Siegfried

Here is the log from cygwin's bash running on Win2000:
cd c:/xerces-2_0_2/data/

java -cp
c:\\xerces-2_0_2\\xerces.jar\;c:\\xerces-2_0_2\\xercesSamples.jar\;c:\\xerces-2_0_2\\xercesImpl.jar
sax.Counter  -v personal-schema.xml

[Error] personal-schema.xml:8:50: Document root
element "personnel", must match DOCTYPE root "null".


[Error] personal-schema.xml:8:50: Document is invalid:
no grammar found.


personal-schema.xml: 401 ms (37 elems, 13 attrs, 0
spaces, 268 chars)




Compilation finished at Fri Aug 16 16:18:23



__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com