[AA] Validation error when parsing a XML having a list using SAX Parser in Xerces 2.2.0

2004-03-18 Thread Swaminathan A
Hi all, Used Xerces Version: 2.2.0 During the validation of a XML file using SAX parser, when xs:list is used, validation fails. Is there any way to get the same requirement of having a list satisfied ? Error Message given by the SAX Parser is Message: Datatype error: Type:InvalidDatatypeValue

RE: DOM performance/coding issue

2003-09-14 Thread Swaminathan A
As Mr.Alberto told if we iterate the child nodes instead of using getElementsByTagNameNS it will be efficient. Please find the code snippet for the same. Regards, Swaminathan // Get all the child nodes of the given Document's root node. XERCES_CPP_NAMESPACE::DOMNodeList* pDO

Xalan1.5 built with VisualStudio 6 SP5.

2003-08-27 Thread Swaminathan A
Hi all, We have built Xalan1.5 with Visual Studio 6 SP5. Sporadically call to XalanTransformer::transform is failing by returning -1. This is noticed only on twin CPU machines and if the tracing is enabled in the calling executable the fault is not reproducible(May be the tracing will introsuce so

RE: XML Schema

2003-08-26 Thread Swaminathan A
Title: XML Schema Hi Aliza,   The Name and UnNamed Groups that appear in content models ( group,choice,sequence and all) can be used only for reprtesenting the element and not the attributes. This is not possible using XML Schema instead you can use XSL validation(Using Xalan) for finding

RE: XML Schema

2003-08-26 Thread Swaminathan A
Title: XML Schema Hi Aliza,   The Name and UnNamed Groups that appear in content models ( group,choice,sequence and all) can be used only for reprtesenting the element and not the attributes. If that is your requirement you can use XSl validation(Using Xalan) for finding it.   Best Regard