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=7358>. 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=7358 About TraverseSchema::traverseSimpleTypeDecl member function. Summary: About TraverseSchema::traverseSimpleTypeDecl member function. Product: Xerces-C++ Version: 1.5.1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Validating Parser (Schema) (Xerces 1.5 or up only) AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Dear Xerces developers, When we started to use the xerces version 1.7 build, but we had found some issue codes. See belows int TraverseSchema::traverseSimpleTypeDecl(const IDOM_Element* const childElem, int baseRefContext) { ... //TraverseSchema.cpp(1095) if (baseRefContext & SchemaSymbols::LIST != 0) { ... } We think the correct codes can be { ... //TraverseSchema.cpp(1095) if ((baseRefContext & SchemaSymbols::LIST) != 0) { ... } We suggested you to correct your codes is base on the two reasons 1. Thinking about the operator precedence... the bitwise & has lower precedence than != operator. please refer to "The C++ programming language/page 121." 2. The close code is looked like this one... //TraverseSchema.cpp(4614) ... if ((blockSet & SchemaSymbols::SUBSTITUTION) == 0 ) { ... How do you think? Regards, Jank. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
