surely it shouldn't cause an access violation in any case though? > -----Original Message----- > From: Jason E. Stewart [mailto:[EMAIL PROTECTED]] > Sent: 11 October 2001 01:15 > To: [EMAIL PROTECTED] > Subject: Re: which sample app can parse and validate > personal-schema.xml? > > > "Ailian Ding" <[EMAIL PROTECTED]> writes: > > > I downloaded xerces-c1.5.1 and ported it on the OS/2 platform. > > I tried the samples/DOMPrint, and samples/DOMCount on > samples/data/personal.xml (personal.dtd) and both worked. > > Then I tried to run these two applications on > samples/data/personal-schema.xml (personal.xsd) with validation > turned on and I found that both apps failed. See following for > details. Which sample application can parse/validate the > personal-schema.xml? Thanks for help! > > > > ============================ > > - domcount personal-schema.xml > > personal-schema.xml: 15 ms (37 elems). > > - domcount -s personal-schema.xml > > personal-schema.xml: 16 ms (37 elems). > > - domcount -s -v=auto personal-schema.xml > > personal-schema.xml: 16 ms (37 elems). > > - domcount -s -v=never personal-schema.xml > > personal-schema.xml: 15 ms (37 elems). > > - domcount -s -v=always personal-schema.xml > > ------------------- > > Error at file D:\user\crm\xmltu\domcount\personal-schema.xml, > line 2, char 11 > > Message: Unknown element 'personnel' > > > > Error at file D:\user\crm\xmltu\domcount\personal-schema.xml, > line 2, char 11 > > Message: Root element different from DOCTYPE > > > > (a lot more errors) > > --------------------- > > > > - domcount -s -n -v=always personal-schema.xml > > Exception = c0000005 occurred at EIP = 4aa55. > > you have to run it with both the -s (schema) and -n (namespace) but > without the -v flag. > > jas. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
