You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by "Schlesinger, Philip" <ps...@filenet.com> on 2006/06/22 21:55:16 UTC

FW: DOMTypeInfo test at line 854was not carried out (also happening on Sun)

Hi Alberto.  

FYI: the same exact errors are also happening on the Sun platform, and
I'm using the same process laid out for me by David Bertoni (only
changing AIX values to Sun values - xlC becomes CC, etc.).

- Phil

-----Original Message-----
From: Schlesinger, Philip 
Sent: Thursday, June 22, 2006 11:55 AM
To: c-users@xerces.apache.org
Subject: RE: DOMTypeInfo test at line 854was not carried out

Hi Alberto.  Everything else seems to pass.  Below is the output for the
DOMPrint command you requested. 

Also, here is the output from running the sanityTest.pl script
(junk.jun) and the diff output (out.log) in case you wanted to see it:

http://www.electronicfiles.net/files/3560/xercesAIXsanityTestDiff.zip

- Phil

hqepaix3(vwbuild)/PEBuilds/bldtogether/xerces-c2.7.0-aix/bin> DOMPrint
-n -s $BLDROOT/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeInfo.xml
Error at file
"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
fo.xml", line 1, column 39
   Message: EMPTY Element 'attributeTest' has Attribute 'notation' of
type NOTATION Error at file
"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
fo.xml", line 148, column 19
   Message: Unknown element 'ss:notRealTag' 
Error at file
"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
fo.xml", line 150, column 30
   Message: Attribute '{http://www.secondSchema}attr5' is not declared
for element 'anyTestAttr1' 
Error at file
"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
fo.xml", line 152, column 19
   Message: Element 'anyTestMissing' is not valid for content model:
'((,),)' 
Error at file
"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
fo.xml", line 153, column 45
   Message: Datatype error: Type:InvalidDatatypeValueException,
Message:Value 'abcd' does not match regular expression facet 'hello' . 
Error at file
"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
fo.xml", line 153, column 45
   Message: Attribute 'invalid' is not declared for element
'invalidTest' 
Error at file
"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
fo.xml", line 154, column 25
   Message: Datatype error: Type:InvalidDatatypeValueException,
Message:Value 'abcd' does not match regular expression facet 'hello' . 
Error at file
"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
fo.xml", line 157, column 16
   Message: Unknown element 'invalid' 
Error at file
"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
fo.xml", line 158, column 13
   Message: Element 'invalid' is not valid for content model: '(a,)' 
Error at file
"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
fo.xml", line 159, column 41
   Message: Type 'stringDerivedType' that is used in xsi:type is not
derived from the type of element 'number' 
Error at file
"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
fo.xml", line 159, column 52
   Message: Datatype error: Type:InvalidDatatypeValueException,
Message:Value '74' does not match regular expression facet 'hello' . 
Error at file
"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
fo.xml", line 160, column 45
   Message: Type 'simpleDerTestType' that is used in xsi:type is not
derived from the type of element 'complexXsi' 
Error at file
"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
fo.xml", line 162, column 9
   Message: Unknown element 'b' 
Error at file
"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
fo.xml", line 163, column 16
   Message: Element 'b' is not valid for content model: '(a,)' 
Error at file
"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
fo.xml", line 164, column 33
   Message: Datatype error: Type:InvalidDatatypeValueException,
Message:Value 'hello1' does not match any member types (of the union)  .

Error at file
"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
fo.xml", line 165, column 11
   Message: Unknown element 'empty' 
Error at file
"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
fo.xml", line 166, column 34
   Message: Datatype error: Type:InvalidDatatypeValueException,
Message:Value 'lala' does not match regular expression facet 'hello' . 
Error at file
"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
fo.xml", line 167, column 22
   Message: Required attribute 'attr' was not provided Error at file
"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
fo.xml", line 168, column 37
   Message: Datatype error: Type:InvalidDatatypeValueException,
Message:Value 'lala' does not match regular expression facet 'hello' . 
Error at file
"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
fo.xml", line 168, column 37
   Message: Prohibited Attribute attr is found. 
Error at file
"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
fo.xml", line 169, column 15
   Message: Element 'empty' is not valid for content model:
'((simple,complex,number,complexXsi,unionTest,invalidAttrTest,missingAtt
rTest),prohibitedAttrTest)' 


-----Original Message-----
From: Alberto Massari [mailto:amassari@datadirect.com] 
Sent: Thursday, June 22, 2006 2:43 AM
To: c-users@xerces.apache.org
Subject: Re: DOMTypeInfo test at line 854was not carried out

At 11.44 21/06/2006 -0700, Schlesinger, Philip wrote:
>Hi all.  The sanityTest.pl script turned out ok except for this:
>
>DOMTypeInfo test at line 854was not carried out DOMTypeInfo test at 
>line 888was not carried out DOMTypeInfo test at line 912was not carried

>out DOMTypeInfo test at line 937was not carried out DOMTypeInfo test at

>line 961was not carried out
>
>Ideas?

These errors are reported if the parsing of the document failed (but
without fatal errors).
Do the other tests succeed?
In particular, given that one failure is:

         ti.parser = new XercesDOMParser;
         ti.parser->setValidationScheme(XercesDOMParser::Val_Auto);
         ti.parser->setCreateSchemaInfo(true);
         ti.parser->setDoNamespaces(true);
         ti.parser->setDoSchema(true);
         ti.parser->parse("data/TypeInfo.xml");
         ti.doc = ti.parser->getDocument();

can you try running

   DOMPrint -n -s <XercesDir>/tests/DOM/TypeInfo/data/TypeInfo.xml

?

Thanks,
Alberto 






Re: FW: DOMTypeInfo test at line 854was not carried out (also happening on Sun)

Posted by Alberto Massari <am...@datadirect.com>.
At 12.55 22/06/2006 -0700, Schlesinger, Philip wrote:
>Hi Alberto.
>
>FYI: the same exact errors are also happening on the Sun platform, and
>I'm using the same process laid out for me by David Bertoni (only
>changing AIX values to Sun values - xlC becomes CC, etc.).

I have no idea why this is failing for you; can you run DOMTestInfo 
under a debugger to see what is failing?

Alberto

>- Phil
>
>-----Original Message-----
>From: Schlesinger, Philip
>Sent: Thursday, June 22, 2006 11:55 AM
>To: c-users@xerces.apache.org
>Subject: RE: DOMTypeInfo test at line 854was not carried out
>
>Hi Alberto.  Everything else seems to pass.  Below is the output for the
>DOMPrint command you requested.
>
>Also, here is the output from running the sanityTest.pl script
>(junk.jun) and the diff output (out.log) in case you wanted to see it:
>
>http://www.electronicfiles.net/files/3560/xercesAIXsanityTestDiff.zip
>
>- Phil
>
>hqepaix3(vwbuild)/PEBuilds/bldtogether/xerces-c2.7.0-aix/bin> DOMPrint
>-n -s $BLDROOT/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeInfo.xml
>Error at file
>"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
>fo.xml", line 1, column 39
>    Message: EMPTY Element 'attributeTest' has Attribute 'notation' of
>type NOTATION Error at file
>"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
>fo.xml", line 148, column 19
>    Message: Unknown element 'ss:notRealTag'
>Error at file
>"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
>fo.xml", line 150, column 30
>    Message: Attribute '{http://www.secondSchema}attr5' is not declared
>for element 'anyTestAttr1'
>Error at file
>"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
>fo.xml", line 152, column 19
>    Message: Element 'anyTestMissing' is not valid for content model:
>'((,),)'
>Error at file
>"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
>fo.xml", line 153, column 45
>    Message: Datatype error: Type:InvalidDatatypeValueException,
>Message:Value 'abcd' does not match regular expression facet 'hello' .
>Error at file
>"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
>fo.xml", line 153, column 45
>    Message: Attribute 'invalid' is not declared for element
>'invalidTest'
>Error at file
>"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
>fo.xml", line 154, column 25
>    Message: Datatype error: Type:InvalidDatatypeValueException,
>Message:Value 'abcd' does not match regular expression facet 'hello' .
>Error at file
>"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
>fo.xml", line 157, column 16
>    Message: Unknown element 'invalid'
>Error at file
>"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
>fo.xml", line 158, column 13
>    Message: Element 'invalid' is not valid for content model: '(a,)'
>Error at file
>"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
>fo.xml", line 159, column 41
>    Message: Type 'stringDerivedType' that is used in xsi:type is not
>derived from the type of element 'number'
>Error at file
>"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
>fo.xml", line 159, column 52
>    Message: Datatype error: Type:InvalidDatatypeValueException,
>Message:Value '74' does not match regular expression facet 'hello' .
>Error at file
>"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
>fo.xml", line 160, column 45
>    Message: Type 'simpleDerTestType' that is used in xsi:type is not
>derived from the type of element 'complexXsi'
>Error at file
>"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
>fo.xml", line 162, column 9
>    Message: Unknown element 'b'
>Error at file
>"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
>fo.xml", line 163, column 16
>    Message: Element 'b' is not valid for content model: '(a,)'
>Error at file
>"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
>fo.xml", line 164, column 33
>    Message: Datatype error: Type:InvalidDatatypeValueException,
>Message:Value 'hello1' does not match any member types (of the union)  .
>
>Error at file
>"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
>fo.xml", line 165, column 11
>    Message: Unknown element 'empty'
>Error at file
>"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
>fo.xml", line 166, column 34
>    Message: Datatype error: Type:InvalidDatatypeValueException,
>Message:Value 'lala' does not match regular expression facet 'hello' .
>Error at file
>"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
>fo.xml", line 167, column 22
>    Message: Required attribute 'attr' was not provided Error at file
>"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
>fo.xml", line 168, column 37
>    Message: Datatype error: Type:InvalidDatatypeValueException,
>Message:Value 'lala' does not match regular expression facet 'hello' .
>Error at file
>"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
>fo.xml", line 168, column 37
>    Message: Prohibited Attribute attr is found.
>Error at file
>"/PEBuilds/bldtogether/xerces-c-src_2_7_0/tests/DOM/TypeInfo/data/TypeIn
>fo.xml", line 169, column 15
>    Message: Element 'empty' is not valid for content model:
>'((simple,complex,number,complexXsi,unionTest,invalidAttrTest,missingAtt
>rTest),prohibitedAttrTest)'
>
>
>-----Original Message-----
>From: Alberto Massari [mailto:amassari@datadirect.com]
>Sent: Thursday, June 22, 2006 2:43 AM
>To: c-users@xerces.apache.org
>Subject: Re: DOMTypeInfo test at line 854was not carried out
>
>At 11.44 21/06/2006 -0700, Schlesinger, Philip wrote:
> >Hi all.  The sanityTest.pl script turned out ok except for this:
> >
> >DOMTypeInfo test at line 854was not carried out DOMTypeInfo test at
> >line 888was not carried out DOMTypeInfo test at line 912was not carried
>
> >out DOMTypeInfo test at line 937was not carried out DOMTypeInfo test at
>
> >line 961was not carried out
> >
> >Ideas?
>
>These errors are reported if the parsing of the document failed (but
>without fatal errors).
>Do the other tests succeed?
>In particular, given that one failure is:
>
>          ti.parser = new XercesDOMParser;
>          ti.parser->setValidationScheme(XercesDOMParser::Val_Auto);
>          ti.parser->setCreateSchemaInfo(true);
>          ti.parser->setDoNamespaces(true);
>          ti.parser->setDoSchema(true);
>          ti.parser->parse("data/TypeInfo.xml");
>          ti.doc = ti.parser->getDocument();
>
>can you try running
>
>    DOMPrint -n -s <XercesDir>/tests/DOM/TypeInfo/data/TypeInfo.xml
>
>?
>
>Thanks,
>Alberto