From xerces-cvanessapratt@example.net Tue Feb 01 12:38:23 2005 Return-Path: <xerces-cvanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 98700 invoked from network); 1 Feb 2005 12:38:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Feb 2005 12:38:23 -0000 Received: (qmail 34329 invoked by uid 500); 1 Feb 2005 12:38:20 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 34293 invoked by uid 500); 1 Feb 2005 12:38:20 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk Reply-To: vanessapratt@example.net list-help: <mailto:vanessapratt@example.net> list-unsubscribe: <mailto:vanessapratt@example.net> list-post: <mailto:vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 34277 invoked by uid 99); 1 Feb 2005 12:38:20 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Feb 2005 04:38:19 -0800 Received: from ajax.apache.org (ajax.apache.org [83.161.120.155]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j11CcHLY007837 for <vanessapratt@example.net>; Tue, 1 Feb 2005 13:38:17 +0100 Message-ID: <vanessapratt@example.net> Date: Tue, 1 Feb 2005 13:38:17 +0100 (CET) From: "Brian Reynolds (JIRA)" <vanessapratt@example.net> To: vanessapratt@example.net Subject: [jira] Created: (XERCESC-1330) No INTERIX section in $XERCESCROOT/tests/Makefile.incl Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N No INTERIX section in $XERCESCROOT/tests/Makefile.incl ------------------------------------------------------ Key: XERCESC-1330 URL: http://issues.apache.org/jira/browse/XERCESC-1330 Project: Xerces-C++ Type: Bug Components: Build Versions: 2.6.0 Environment: Interix Reporter: Brian Reynolds This is a platform available in runConfigure. The CC variable has not been set. This should do the trick: #=============== INTERIX SPECIFIC OPTIONS ========================= ifeq (${PLATFORM}, INTERIX) CMP= -c ${CXXFLAGS} CC= ${COMPILER} -c -D${PLATFORM} -D_REENTRANT -fpic LINK = ${COMPILER} -D${PLATFORM} -fpic ${LDFLAGS} PLATFORM_LIB_LINK_OPTIONS=-L/usr/local/lib EXTRA_LINK_OPTIONS=-lc ${EXTRA_LIBS} SHLIBSUFFIX=.so endif -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: vanessapratt@example.net For additional commands, e-mail: vanessapratt@example.net From xerces-cvanessapratt@example.net Tue Feb 01 17:46:37 2005 Return-Path: <xerces-cvanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 98229 invoked from network); 1 Feb 2005 17:46:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Feb 2005 17:46:37 -0000 Received: (qmail 65387 invoked by uid 500); 1 Feb 2005 17:46:28 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 65320 invoked by uid 500); 1 Feb 2005 17:46:27 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk Reply-To: vanessapratt@example.net list-help: <mailto:vanessapratt@example.net> list-unsubscribe: <mailto:vanessapratt@example.net> list-post: <mailto:vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 65238 invoked by uid 99); 1 Feb 2005 17:46:26 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Feb 2005 09:46:25 -0800 Received: from ajax.apache.org (ajax.apache.org [83.161.120.155]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j11HkLhh009412 for <vanessapratt@example.net>; Tue, 1 Feb 2005 18:46:21 +0100 Message-ID: <{{EMAIL+PHONE}}> Date: Tue, 1 Feb 2005 18:46:21 +0100 (CET) From: "Jesse Pelton (JIRA)" <vanessapratt@example.net> To: vanessapratt@example.net Subject: [jira] Created: (XERCESC-1331) Globals intended for use in a single file should be static Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Globals intended for use in a single file should be static ---------------------------------------------------------- Key: XERCESC-1331 URL: http://issues.apache.org/jira/browse/XERCESC-1331 Project: Xerces-C++ Type: Bug Versions: 2.5.0, 2.6.0 Environment: Win32, Visual Studio .NET 2003, static library Reporter: Jesse Pelton Priority: Minor util/NetAccessors/WinSock/BinHTTPURLInputStream.cpp declares and uses several global variables. These variables do not appear to be intended to be visible outside the module. If this is the case, they should be declared static. I bumped into this when trying to build the Apache XML Security code with a) Xerces namespace support disabled and b) a statically linked Xerces library. XML Security has a modified version of the BinHTTPURLInputStream class, including copies of the offending globals. This results in warnings from the linker when it detects that the globals are multiply defined. They should fix their end, too (I'll file a report there, too), but the Xerces code should correctly declare its intent as well. Changing util/NetAccessors/WinSock/BinHTTPURLInputStream.cpp is simple. The following lines need "static " inserted at the beginning: HMODULE gWinsockLib = NULL; LPFN_GETHOSTBYNAME gWSgethostbyname = NULL; LPFN_INET_ADDR gWSinet_addr = NULL; LPFN_GETHOSTBYADDR gWSgethostbyaddr = NULL; LPFN_HTONS gWShtons = NULL; LPFN_SOCKET gWSsocket = NULL; LPFN_CONNECT gWSconnect = NULL; LPFN_SEND gWSsend = NULL; LPFN_RECV gWSrecv = NULL; LPFN_SHUTDOWN gWSshutdown = NULL; LPFN_CLOSESOCKET gWSclosesocket = NULL; LPFN_WSACLEANUP gWSACleanup = NULL; The result: static HMODULE gWinsockLib = NULL; static LPFN_GETHOSTBYNAME gWSgethostbyname = NULL; static LPFN_INET_ADDR gWSinet_addr = NULL; static LPFN_GETHOSTBYADDR gWSgethostbyaddr = NULL; static LPFN_HTONS gWShtons = NULL; static LPFN_SOCKET gWSsocket = NULL; static LPFN_CONNECT gWSconnect = NULL; static LPFN_SEND gWSsend = NULL; static LPFN_RECV gWSrecv = NULL; static LPFN_SHUTDOWN gWSshutdown = NULL; static LPFN_CLOSESOCKET gWSclosesocket = NULL; static LPFN_WSACLEANUP gWSACleanup = NULL; -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: vanessapratt@example.net For additional commands, e-mail: vanessapratt@example.net From xerces-cvanessapratt@example.net Tue Feb 01 18:18:50 2005 Return-Path: <xerces-cvanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 17148 invoked from network); 1 Feb 2005 18:18:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Feb 2005 18:18:49 -0000 Received: (qmail 65613 invoked by uid 500); 1 Feb 2005 18:18:45 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 65577 invoked by uid 500); 1 Feb 2005 18:18:45 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk Reply-To: vanessapratt@example.net list-help: <mailto:vanessapratt@example.net> list-unsubscribe: <mailto:vanessapratt@example.net> list-post: <mailto:vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 65548 invoked by uid 99); 1 Feb 2005 18:18:45 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Feb 2005 10:18:43 -0800 Received: from ajax.apache.org (ajax.apache.org [83.161.120.155]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j11I8JAv010461 for <vanessapratt@example.net>; Tue, 1 Feb 2005 19:08:19 +0100 Message-ID: <vanessapratt@example.net> Date: Tue, 1 Feb 2005 19:08:19 +0100 (CET) From: "Robert Buck (JIRA)" <vanessapratt@example.net> To: vanessapratt@example.net Subject: [jira] Commented: (XERCESC-1331) Globals intended for use in a single file should be static In-Reply-To: <{{EMAIL+PHONE}}> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XERCESC-1331?page=comments#action_58423 ] Robert Buck commented on XERCESC-1331: -------------------------------------- Better yet, rather than using "static", use an unnamed namespace. > Globals intended for use in a single file should be static > ---------------------------------------------------------- > > Key: XERCESC-1331 > URL: http://issues.apache.org/jira/browse/XERCESC-1331 > Project: Xerces-C++ > Type: Bug > Versions: 2.5.0, 2.6.0 > Environment: Win32, Visual Studio .NET 2003, static library > Reporter: Jesse Pelton > Priority: Minor > > util/NetAccessors/WinSock/BinHTTPURLInputStream.cpp declares and uses several global variables. These variables do not appear to be intended to be visible outside the module. If this is the case, they should be declared static. > I bumped into this when trying to build the Apache XML Security code with a) Xerces namespace support disabled and b) a statically linked Xerces library. XML Security has a modified version of the BinHTTPURLInputStream class, including copies of the offending globals. This results in warnings from the linker when it detects that the globals are multiply defined. They should fix their end, too (I'll file a report there, too), but the Xerces code should correctly declare its intent as well. > Changing util/NetAccessors/WinSock/BinHTTPURLInputStream.cpp is simple. The following lines need "static " inserted at the beginning: > HMODULE gWinsockLib = NULL; > LPFN_GETHOSTBYNAME gWSgethostbyname = NULL; > LPFN_INET_ADDR gWSinet_addr = NULL; > LPFN_GETHOSTBYADDR gWSgethostbyaddr = NULL; > LPFN_HTONS gWShtons = NULL; > LPFN_SOCKET gWSsocket = NULL; > LPFN_CONNECT gWSconnect = NULL; > LPFN_SEND gWSsend = NULL; > LPFN_RECV gWSrecv = NULL; > LPFN_SHUTDOWN gWSshutdown = NULL; > LPFN_CLOSESOCKET gWSclosesocket = NULL; > LPFN_WSACLEANUP gWSACleanup = NULL; > The result: > static HMODULE gWinsockLib = NULL; > static LPFN_GETHOSTBYNAME gWSgethostbyname = NULL; > static LPFN_INET_ADDR gWSinet_addr = NULL; > static LPFN_GETHOSTBYADDR gWSgethostbyaddr = NULL; > static LPFN_HTONS gWShtons = NULL; > static LPFN_SOCKET gWSsocket = NULL; > static LPFN_CONNECT gWSconnect = NULL; > static LPFN_SEND gWSsend = NULL; > static LPFN_RECV gWSrecv = NULL; > static LPFN_SHUTDOWN gWSshutdown = NULL; > static LPFN_CLOSESOCKET gWSclosesocket = NULL; > static LPFN_WSACLEANUP gWSACleanup = NULL; -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: vanessapratt@example.net For additional commands, e-mail: vanessapratt@example.net From xerces-cvanessapratt@example.net Tue Feb 01 18:23:18 2005 Return-Path: <xerces-cvanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 19390 invoked from network); 1 Feb 2005 18:23:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Feb 2005 18:23:18 -0000 Received: (qmail 78494 invoked by uid 500); 1 Feb 2005 18:23:15 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 78469 invoked by uid 500); 1 Feb 2005 18:23:14 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk Reply-To: vanessapratt@example.net list-help: <mailto:vanessapratt@example.net> list-unsubscribe: <mailto:vanessapratt@example.net> list-post: <mailto:vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 78450 invoked by uid 99); 1 Feb 2005 18:23:14 -0000 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=DNS_FROM_RFC_POST,HTML_MESSAGE,UPPERCASE_50_75 X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from fmr17.intel.com (HELO orsfmr002.jf.intel.com) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Feb 2005 10:23:13 -0800 Received: from orsfmr101.jf.intel.com (orsfmr101.jf.intel.com [83.161.120.155]) by orsfmr002.jf.intel.com (8.12.10/8.12.10/d: major-outer.mc,v 1.1 2004/09/17 17:50:56 root Exp $) with ESMTP id j11INB0q018431 for <vanessapratt@example.net>; Tue, 1 Feb 2005 18:23:11 GMT Received: from orsmsxvs040.jf.intel.com (orsmsxvs040.jf.intel.com [83.161.120.155]) by orsfmr101.jf.intel.com (8.12.10/8.12.10/d: major-inner.mc,v 1.2 2004/09/17 18:05:01 root Exp $) with SMTP id j11IMNEI011423 for <vanessapratt@example.net>; Tue, 1 Feb 2005 18:23:11 GMT Received: from orsmsx331.amr.corp.intel.com ([83.161.120.155]) by orsmsxvs040.jf.intel.com (SAVSMTP 83.161.120.155) with SMTP id M2005020110231132448 for <vanessapratt@example.net>; Tue, 01 Feb 2005 10:23:11 -0800 Received: from orsmsx408.amr.corp.intel.com ([83.161.120.155]) by orsmsx331.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 1 Feb 2005 10:23:11 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5088B.1552D209" Subject: Xerces-c-2.6.0 -- Intel compiler -- runConfigure doesn't accept icpc for C++ compiler Date: Tue, 1 Feb 2005 10:23:07 -0800 Message-ID: <96E39AF1B99FDC47A38DDAB22C3E70CA0368447C@orsmsx408> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Xerces-c-2.6.0 -- Intel compiler -- runConfigure doesn't accept icpc for C++ compiler Thread-Index: AcUIixOaoCZ0+LvVS0m1xoxUReS84w== From: "Puthuparambil, Shamla" <vanessapratt@example.net> To: <vanessapratt@example.net> X-OriginalArrivalTime: 01 Feb 2005 18:23:11.0108 (UTC) FILETIME=[15EA4C40:01C5088B] X-Scanned-By: MIMEDefang 2.44 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C5088B.1552D209 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =20 runConfigure doesn't accept the C++ compiler driver icpc, inturn it only accepts icc for both C compiler and C++ compiler. Is there someway I can fix this? =20 =20 ./runConfigure -plinux -cicc -xicpc=20 ......................... export CC=3D"icc" export CXX=3D"" export CXXFLAGS=3D" -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SA X4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NAT =20 =20 =20 ./runConfigure -plinux -cicc -xicc=20 .......................... export CC=3D"icc" export CXX=3D"icc" export CXXFLAGS=3D" -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SA X4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NAT =20 =20 Thanks shamla ------_=_NextPart_001_01C5088B.1552D209 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {font-family:Arial; color:windowtext;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Hi,</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>runConfigure doesn&#8217;t accept the C++ compiler = driver icpc, inturn it only accepts icc for both C compiler and C++ compiler. = Is there someway I can fix this?</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>./runConfigure -plinux -cicc -xicpc = </span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#823= 0;.</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>export CC=3D&quot;icc&quot;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>export CXX=3D&quot;&quot;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>export CXXFLAGS=3D&quot; -w -O -DPROJ_XMLPARSER = -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SA</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>X4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NAT</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>./runConfigure -plinux -cicc -xicc </span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#823= 0;..</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>export CC=3D&quot;icc&quot;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>export CXX=3D&quot;icc&quot;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>export CXXFLAGS=3D&quot; -w -O -DPROJ_XMLPARSER = -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SA</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>X4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NAT</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Thanks</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>shamla</span></font></p> </div> </body> </html> ------_=_NextPart_001_01C5088B.1552D209-- From xerces-cvanessapratt@example.net Tue Feb 01 18:32:23 2005 Return-Path: <xerces-cvanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 23089 invoked from network); 1 Feb 2005 18:32:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Feb 2005 18:32:23 -0000 Received: (qmail 178 invoked by uid 500); 1 Feb 2005 18:32:21 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 141 invoked by uid 500); 1 Feb 2005 18:32:20 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk Reply-To: vanessapratt@example.net list-help: <mailto:vanessapratt@example.net> list-unsubscribe: <mailto:vanessapratt@example.net> list-post: <mailto:vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 127 invoked by uid 99); 1 Feb 2005 18:32:20 -0000 X-ASF-Spam-Status: No, hits=1.6 required=10.0 tests=DNS_FROM_RFC_POST,HTML_MESSAGE,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from fmr20.intel.com (HELO orsfmr005.jf.intel.com) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Feb 2005 10:32:19 -0800 Received: from orsfmr101.jf.intel.com (orsfmr101.jf.intel.com [83.161.120.155]) by orsfmr005.jf.intel.com (8.12.10/8.12.10/d: major-outer.mc,v 1.1 2004/09/17 17:50:56 root Exp $) with ESMTP id j11IWHIK019151 for <vanessapratt@example.net>; Tue, 1 Feb 2005 18:32:17 GMT Received: from orsmsxvs040.jf.intel.com (orsmsxvs040.jf.intel.com [83.161.120.155]) by orsfmr101.jf.intel.com (8.12.10/8.12.10/d: major-inner.mc,v 1.2 2004/09/17 18:05:01 root Exp $) with SMTP id j11IVtDu019706 for <vanessapratt@example.net>; Tue, 1 Feb 2005 18:32:17 GMT Received: from orsmsx331.amr.corp.intel.com ([83.161.120.155]) by orsmsxvs040.jf.intel.com (SAVSMTP 83.161.120.155) with SMTP id M2005020110321701563 for <vanessapratt@example.net>; Tue, 01 Feb 2005 10:32:17 -0800 Received: from orsmsx408.amr.corp.intel.com ([83.161.120.155]) by orsmsx331.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 1 Feb 2005 10:32:17 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5088C.5B33F0F8" Subject: runConfigure doesn't accept the C++ compiler driver icpc, inturn it only accepts icc for both C compiler and C++ compiler. Date: Tue, 1 Feb 2005 10:32:14 -0800 Message-ID: <96E39AF1B99FDC47A38DDAB22C3E70CA036844BB@orsmsx408> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: runConfigure doesn't accept the C++ compiler driver icpc, inturn it only accepts icc for both C compiler and C++ compiler. Thread-Index: AcUIjFoXM5BVAfhhQo2ivJz2M1rkww== From: "Puthuparambil, Shamla" <vanessapratt@example.net> To: <vanessapratt@example.net> X-OriginalArrivalTime: 01 Feb 2005 18:32:17.0343 (UTC) FILETIME=[5B7F24F0:01C5088C] X-Scanned-By: MIMEDefang 2.44 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C5088C.5B33F0F8 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =20 runConfigure doesn't accept the C++ compiler driver icpc, inturn it only accepts icc for both C compiler and C++ compiler. Is there someway I can fix this? =20 =20 ./runConfigure -plinux -cicc -xicpc=20 ......................... export CC=3D"icc" export CXX=3D"" export CXXFLAGS=3D" -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SA X4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NAT =20 =20 =20 ./runConfigure -plinux -cicc -xicc=20 .......................... export CC=3D"icc" export CXX=3D"icc" export CXXFLAGS=3D" -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SA X4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NAT =20 =20 Thanks shamla =20 ------_=_NextPart_001_01C5088C.5B33F0F8 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {font-family:Arial; color:windowtext;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Hi,</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>runConfigure doesn&#8217;t accept the C++ compiler = driver icpc, inturn it only accepts icc for both C compiler and C++ compiler. = Is there someway I can fix this?</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>./runConfigure -plinux -cicc -xicpc = </span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#823= 0;.</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>export CC=3D&quot;icc&quot;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>export CXX=3D&quot;&quot;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>export CXXFLAGS=3D&quot; -w -O -DPROJ_XMLPARSER = -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SA</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>X4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NAT</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>./runConfigure -plinux -cicc -xicc </span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#823= 0;..</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>export CC=3D&quot;icc&quot;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>export CXX=3D&quot;icc&quot;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>export CXXFLAGS=3D&quot; -w -O -DPROJ_XMLPARSER = -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SA</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>X4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NAT</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Thanks</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>shamla</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>&nbsp;</span></font></p> </div> </body> </html> ------_=_NextPart_001_01C5088C.5B33F0F8-- From xerces-cvanessapratt@example.net Tue Feb 01 18:34:30 2005 Return-Path: <xerces-cvanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 24543 invoked from network); 1 Feb 2005 18:34:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Feb 2005 18:34:30 -0000 Received: (qmail 5272 invoked by uid 500); 1 Feb 2005 18:34:28 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 5245 invoked by uid 500); 1 Feb 2005 18:34:27 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk Reply-To: vanessapratt@example.net list-help: <mailto:vanessapratt@example.net> list-unsubscribe: <mailto:vanessapratt@example.net> list-post: <mailto:vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 5232 invoked by uid 99); 1 Feb 2005 18:34:27 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=UPPERCASE_25_50 X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtp2.mathworks.com (HELO smtp2.mathworks.com) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Feb 2005 10:34:26 -0800 Received: from mail-vif.mathworks.com (fred-ce0.mathworks.com [83.161.120.155]) by smtp2.mathworks.com (8.12.11/8.12.11) with ESMTP id j11IYNan011721 for <vanessapratt@example.net>; Tue, 1 Feb 2005 13:34:23 -0500 (EST) Received: from MESSAGE-AH.ad.mathworks.com (ex-01-ah.mathworks.com [83.161.120.155]) by mail-vif.mathworks.com (8.11.7/8.11.7) with ESMTP id j11IYN025942 for <vanessapratt@example.net>; Tue, 1 Feb 2005 13:34:23 -0500 (EST) X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: Xerces-c-2.6.0 -- Intel compiler -- runConfigure doesn't accept icpc for C++ compiler Date: Tue, 1 Feb 2005 13:34:22 -0500 Message-ID: <vanessapratt@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Xerces-c-2.6.0 -- Intel compiler -- runConfigure doesn't accept icpc for C++ compiler Thread-Index: AcUIixOaoCZ0+LvVS0m1xoxUReS84wAAQ6iA From: "Robert Buck" <vanessapratt@example.net> To: <vanessapratt@example.net> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This worked for me. Check your compiler version; you ought to be able to use ecc for both. ########################################## # ... echo "Building Xerces-C for Linux ia64" PATH=3D/hub/ia64/apps/intel/compiler70/ia64/bin:$PATH export PATH LD_LIBRARY_PATH=3D/hub/ia64/apps/intel/compiler70/ia64/lib:$LD_LIBRARY_PA= T H export LD_LIBRARY_PATH XERCES_CC=3Decc export XERCES_CC XERCES_CXX=3Decc export XERCES_CX BITSTOBUILD=3D64 # ... XERCESCROOT=3D$CWD/xerces-c-src_2_6_0 export XERCESCROOT cd $XERCESCROOT/src/xercesc ... CPPFLAGS=3D"-D_POSIX_C_SOURCE=3D199506L" ./runConfigure -d -p $XERCES_PLATFORM -c $XERCES_CC -x $XERCES_CXX -t icu -P $XERCESC_DESTDIR/$CFG -b $BITSTOBUILD -r pthread # ... gmake ########################################## --Bob=20 >-----Original Message----- >From: Puthuparambil, Shamla [mailto:vanessapratt@example.net]=20 >Sent: Tuesday, February 01, 2005 1:23 PM >To: vanessapratt@example.net >Subject: Xerces-c-2.6.0 -- Intel compiler -- runConfigure=20 >doesn't accept icpc for C++ compiler > >Hi, > >=20 > >runConfigure doesn't accept the C++ compiler driver icpc,=20 >inturn it only accepts icc for both C compiler and C++=20 >compiler. Is there someway I can fix this? > >=20 > >=20 > >./runConfigure -plinux -cicc -xicpc=20 > >......................... > >export CC=3D"icc" > >export CXX=3D"" > >export CXXFLAGS=3D" -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL=20 >-DPROJ_PARSERS -DPROJ_SA > >X4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM=20 >-DPROJ_VALIDATORS -DXML_USE_NAT > >=20 > >=20 > >=20 > >./runConfigure -plinux -cicc -xicc=20 > >.......................... > >export CC=3D"icc" > >export CXX=3D"icc" > >export CXXFLAGS=3D" -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL=20 >-DPROJ_PARSERS -DPROJ_SA > >X4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM=20 >-DPROJ_VALIDATORS -DXML_USE_NAT > >=20 > >=20 > >Thanks > >shamla > > --------------------------------------------------------------------- To unsubscribe, e-mail: vanessapratt@example.net For additional commands, e-mail: vanessapratt@example.net From xerces-cvanessapratt@example.net Tue Feb 01 18:36:04 2005 Return-Path: <xerces-cvanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 25567 invoked from network); 1 Feb 2005 18:36:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Feb 2005 18:36:03 -0000 Received: (qmail 12529 invoked by uid 500); 1 Feb 2005 18:35:50 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 12487 invoked by uid 500); 1 Feb 2005 18:35:50 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk Reply-To: vanessapratt@example.net list-help: <mailto:vanessapratt@example.net> list-unsubscribe: <mailto:vanessapratt@example.net> list-post: <mailto:vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 12448 invoked by uid 99); 1 Feb 2005 18:35:49 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=DNS_FROM_RFC_ABUSE,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from e6.ny.us.ibm.com (HELO e6.ny.us.ibm.com) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Feb 2005 10:35:49 -0800 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [83.161.120.155]) by e6.ny.us.ibm.com (8.12.10/8.12.10) with ESMTP id j11IZkUP006405 for <vanessapratt@example.net>; Tue, 1 Feb 2005 13:35:46 -0500 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [83.161.120.155]) by d01relay04.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j11IZkY7125664 for <vanessapratt@example.net>; Tue, 1 Feb 2005 13:35:46 -0500 Received: from d01av04.pok.ibm.com (loopback [83.161.120.155]) by d01av04.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j11IZkak024826 for <vanessapratt@example.net>; Tue, 1 Feb 2005 13:35:46 -0500 Received: from d25ml02.torolab.ibm.com (d25ml02.torolab.ibm.com [83.161.120.155]) by d01av04.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j11IZkBk024801 for <vanessapratt@example.net>; Tue, 1 Feb 2005 13:35:46 -0500 In-Reply-To: <96E39AF1B99FDC47A38DDAB22C3E70CA0368447C@orsmsx408> Subject: Re: Xerces-c-2.6.0 -- Intel compiler -- runConfigure doesn't accept icpc for C++ compiler To: vanessapratt@example.net X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 Message-ID: <vanessapratt@example.net> From: David Cargill <vanessapratt@example.net> Date: Tue, 1 Feb 2005 13:35:42 -0500 X-MIMETrack: Serialize by Router on D25ML02/25/M/IBM(Release 6.0.2CF1|June 9, 2003) at 02/01/2005 13:35:46 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, This was fixed on January 5th to address jira bug# 1311. If you downlo= ad the latest source you will get the fix (the fix was made after 2.6 GAed= ). Regards, David A. Cargill XML Parser Development IBM Toronto Lab 548.727.7156, tie 969 vanessapratt@example.net = "Puthuparambil, = Shamla" = <shamla.puthupara = To vanessapratt@example.net> <vanessapratt@example.net> = = cc 02/01/2005 01:23 = PM Subj= ect Xerces-c-2.6.0 -- Intel compiler= -- runConfigure doesn't accept icpc= Please respond to for C++ compiler = xerces-c-dev = = = = = = Hi, runConfigure doesn?t accept the C++ compiler driver icpc, inturn it onl= y accepts icc for both C compiler and C++ compiler. Is there someway I ca= n fix this? ./runConfigure -plinux -cicc -xicpc ????????. export CC=3D"icc" export CXX=3D"" export CXXFLAGS=3D" -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSER= S -DPROJ_SA X4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NAT ./runConfigure -plinux -cicc -xicc ????????.. export CC=3D"icc" export CXX=3D"icc" export CXXFLAGS=3D" -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSER= S -DPROJ_SA X4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NAT Thanks shamla= --------------------------------------------------------------------- To unsubscribe, e-mail: vanessapratt@example.net For additional commands, e-mail: vanessapratt@example.net From xerces-cvanessapratt@example.net Tue Feb 01 18:37:44 2005 Return-Path: <xerces-cvanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 26217 invoked from network); 1 Feb 2005 18:37:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Feb 2005 18:37:43 -0000 Received: (qmail 18856 invoked by uid 500); 1 Feb 2005 18:37:22 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 18807 invoked by uid 500); 1 Feb 2005 18:37:21 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk Reply-To: vanessapratt@example.net list-help: <mailto:vanessapratt@example.net> list-unsubscribe: <mailto:vanessapratt@example.net> list-post: <mailto:vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 18775 invoked by uid 99); 1 Feb 2005 18:37:21 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=UPPERCASE_25_50 X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from pscgate.progress.com (HELO pscgate.progress.com) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Feb 2005 10:37:18 -0800 Received: from elvirus1.progress.com (elvirus1 [83.161.120.155]) by pscgate.progress.com (8.12.11/8.12.11/PSC-5.11) with ESMTP id j11IbDxe007905 for <vanessapratt@example.net>; Tue, 1 Feb 2005 13:37:13 -0500 (EST) Received: from progress.com (localhost [83.161.120.155]) by elvirus1.progress.com (8.12.11/8.12.11/PSC-5.11) with ESMTP id j11IbCCi028012 for <vanessapratt@example.net>; Tue, 1 Feb 2005 13:37:12 -0500 (EST) Received: from NTEXFE02.bedford.progress.com (ntexfe02 [83.161.120.155]) by progress.com (8.11.6/8.11.6) with ESMTP id j11IbCc21942 for <vanessapratt@example.net>; Tue, 1 Feb 2005 13:37:12 -0500 (EST) Received: from AlbertoMassari.datadirect.com ([83.161.120.155]) by NTEXFE02.bedford.progress.com with Microsoft SMTPSVC(6.0.3790.0); Tue, 1 Feb 2005 13:37:11 -0500 Message-Id: <vanessapratt@example.net> X-Mailer: QUALCOMM Windows Eudora Version 83.161.120.155 Date: Tue, 01 Feb 2005 19:36:57 +0100 To: vanessapratt@example.net From: Alberto Massari <vanessapratt@example.net> Subject: Re: runConfigure doesn't accept the C++ compiler driver icpc, inturn it only accepts icc for both C compiler and C++ compiler. In-Reply-To: <96E39AF1B99FDC47A38DDAB22C3E70CA036844BB@orsmsx408> References: <96E39AF1B99FDC47A38DDAB22C3E70CA036844BB@orsmsx408> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 01 Feb 2005 18:37:11.0534 (UTC) FILETIME=[0AD920E0:01C5088D] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 vanessapratt@example.net 01/02/2005 -0800, Puthuparambil, Shamla wrote: >Hi, > >runConfigure doesn=92t accept the C++ compiler driver icpc, inturn it only= =20 >accepts icc for both C compiler and C++ compiler. Is there someway I can=20 >fix this? > This has been recently fixed: either refresh from CVS, or download the=20 latest runConfigure from=20 http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-xerces/c/src/xercesc/runCon= figure?rev=3D1.42 Alberto > >./runConfigure -plinux -cicc -xicpc >=85=85=85=85=85=85=85=85. >export CC=3D"icc" >export CXX=3D"" >export CXXFLAGS=3D" -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS=20 >-DPROJ_SA >X4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS=20 >-DXML_USE_NAT > > > >./runConfigure -plinux -cicc -xicc >=85=85=85=85=85=85=85=85.. >export CC=3D"icc" >export CXX=3D"icc" >export CXXFLAGS=3D" -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS=20 >-DPROJ_SA >X4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS=20 >-DXML_USE_NAT > > >Thanks >shamla > --------------------------------------------------------------------- To unsubscribe, e-mail: vanessapratt@example.net For additional commands, e-mail: vanessapratt@example.net From xerces-cvanessapratt@example.net Tue Feb 01 18:40:37 2005 Return-Path: <xerces-cvanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 27295 invoked from network); 1 Feb 2005 18:40:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Feb 2005 18:40:37 -0000 Received: (qmail 30051 invoked by uid 500); 1 Feb 2005 18:40:22 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 30007 invoked by uid 500); 1 Feb 2005 18:40:22 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk Reply-To: vanessapratt@example.net list-help: <mailto:vanessapratt@example.net> list-unsubscribe: <mailto:vanessapratt@example.net> list-post: <mailto:vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 29959 invoked by uid 99); 1 Feb 2005 18:40:21 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Feb 2005 10:40:20 -0800 Received: from ajax.apache.org (ajax.apache.org [83.161.120.155]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j11IeHqB014245 for <vanessapratt@example.net>; Tue, 1 Feb 2005 19:40:17 +0100 Message-ID: <vanessapratt@example.net> Date: Tue, 1 Feb 2005 19:40:17 +0100 (CET) From: "Jesse Pelton (JIRA)" <vanessapratt@example.net> To: vanessapratt@example.net Subject: [jira] Commented: (XERCESC-1331) Globals intended for use in a single file should be static In-Reply-To: <{{EMAIL+PHONE}}> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XERCESC-1331?page=comments#action_58425 ] Jesse Pelton commented on XERCESC-1331: --------------------------------------- Why is an unnamed namespace better? My understanding is that this is precisely what external static declarations have always been for. From K&R (1978): "External static variables and functions provide a way to conceal data objects and any internal routines that manipulate them so that other routines and data cannot conflict even inadvertantly." Now, there's been a lot of water under the bridge since then, and perhaps there's a better way now. Still, this seems like a simple, clear, and correct application of a universally supported language feature to address a problem. (Last I knew, Xerces still worked with compilers that don't support namespaces, though I don't know if any such are still in use.) > Globals intended for use in a single file should be static > ---------------------------------------------------------- > > Key: XERCESC-1331 > URL: http://issues.apache.org/jira/browse/XERCESC-1331 > Project: Xerces-C++ > Type: Bug > Versions: 2.5.0, 2.6.0 > Environment: Win32, Visual Studio .NET 2003, static library > Reporter: Jesse Pelton > Priority: Minor > > util/NetAccessors/WinSock/BinHTTPURLInputStream.cpp declares and uses several global variables. These variables do not appear to be intended to be visible outside the module. If this is the case, they should be declared static. > I bumped into this when trying to build the Apache XML Security code with a) Xerces namespace support disabled and b) a statically linked Xerces library. XML Security has a modified version of the BinHTTPURLInputStream class, including copies of the offending globals. This results in warnings from the linker when it detects that the globals are multiply defined. They should fix their end, too (I'll file a report there, too), but the Xerces code should correctly declare its intent as well. > Changing util/NetAccessors/WinSock/BinHTTPURLInputStream.cpp is simple. The following lines need "static " inserted at the beginning: > HMODULE gWinsockLib = NULL; > LPFN_GETHOSTBYNAME gWSgethostbyname = NULL; > LPFN_INET_ADDR gWSinet_addr = NULL; > LPFN_GETHOSTBYADDR gWSgethostbyaddr = NULL; > LPFN_HTONS gWShtons = NULL; > LPFN_SOCKET gWSsocket = NULL; > LPFN_CONNECT gWSconnect = NULL; > LPFN_SEND gWSsend = NULL; > LPFN_RECV gWSrecv = NULL; > LPFN_SHUTDOWN gWSshutdown = NULL; > LPFN_CLOSESOCKET gWSclosesocket = NULL; > LPFN_WSACLEANUP gWSACleanup = NULL; > The result: > static HMODULE gWinsockLib = NULL; > static LPFN_GETHOSTBYNAME gWSgethostbyname = NULL; > static LPFN_INET_ADDR gWSinet_addr = NULL; > static LPFN_GETHOSTBYADDR gWSgethostbyaddr = NULL; > static LPFN_HTONS gWShtons = NULL; > static LPFN_SOCKET gWSsocket = NULL; > static LPFN_CONNECT gWSconnect = NULL; > static LPFN_SEND gWSsend = NULL; > static LPFN_RECV gWSrecv = NULL; > static LPFN_SHUTDOWN gWSshutdown = NULL; > static LPFN_CLOSESOCKET gWSclosesocket = NULL; > static LPFN_WSACLEANUP gWSACleanup = NULL; -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: vanessapratt@example.net For additional commands, e-mail: vanessapratt@example.net From xerces-cvanessapratt@example.net Tue Feb 01 18:42:53 2005 Return-Path: <xerces-cvanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 28309 invoked from network); 1 Feb 2005 18:42:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Feb 2005 18:42:52 -0000 Received: (qmail 42075 invoked by uid 500); 1 Feb 2005 18:42:50 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 42045 invoked by uid 500); 1 Feb 2005 18:42:49 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk Reply-To: vanessapratt@example.net list-help: <mailto:vanessapratt@example.net> list-unsubscribe: <mailto:vanessapratt@example.net> list-post: <mailto:vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 42032 invoked by uid 99); 1 Feb 2005 18:42:49 -0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_POST X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from fmr19.intel.com (HELO orsfmr004.jf.intel.com) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Feb 2005 10:42:49 -0800 Received: from orsfmr101.jf.intel.com (orsfmr101.jf.intel.com [83.161.120.155]) by orsfmr004.jf.intel.com (8.12.10/8.12.10/d: major-outer.mc,v 1.1 2004/09/17 17:50:56 root Exp $) with ESMTP id j11IgmAY000511 for <vanessapratt@example.net>; Tue, 1 Feb 2005 18:42:48 GMT Received: from orsmsxvs040.jf.intel.com (orsmsxvs040.jf.intel.com [83.161.120.155]) by orsfmr101.jf.intel.com (8.12.10/8.12.10/d: major-inner.mc,v 1.2 2004/09/17 18:05:01 root Exp $) with SMTP id j11IgWDi030569 for <vanessapratt@example.net>; Tue, 1 Feb 2005 18:42:47 GMT Received: from orsmsx332.amr.corp.intel.com ([83.161.120.155]) by orsmsxvs040.jf.intel.com (SAVSMTP 83.161.120.155) with SMTP id M2005020110424703935 for <vanessapratt@example.net>; Tue, 01 Feb 2005 10:42:47 -0800 Received: from orsmsx408.amr.corp.intel.com ([83.161.120.155]) by orsmsx332.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 1 Feb 2005 10:42:47 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: runConfigure doesn't accept the C++ compiler driver icpc, inturn it only accepts icc for both C compiler and C++ compiler. Date: Tue, 1 Feb 2005 10:42:44 -0800 Message-ID: <96E39AF1B99FDC47A38DDAB22C3E70CA036844EC@orsmsx408> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: runConfigure doesn't accept the C++ compiler driver icpc, inturn it only accepts icc for both C compiler and C++ compiler. Thread-Index: AcUIjR/arYyLcJiOSoGWG4t2F0LV6QAAI+kA From: "Puthuparambil, Shamla" <vanessapratt@example.net> To: <vanessapratt@example.net> X-OriginalArrivalTime: 01 Feb 2005 18:42:47.0758 (UTC) FILETIME=[D340D6E0:01C5088D] X-Scanned-By: MIMEDefang 2.44 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thank you all. I edited the runConfigure , and it fixed the problem. Let me know if this will have any side effects. -----Original Message----- From: Alberto Massari [mailto:vanessapratt@example.net]=20 Sent: Tuesday, February 01, 2005 10:37 AM To: vanessapratt@example.net Subject: Re: runConfigure doesn't accept the C++ compiler driver icpc, inturn it only accepts icc for both C compiler and C++ vanessapratt@example.net 01/02/2005 -0800, Puthuparambil, Shamla wrote: >Hi, > >runConfigure doesn't accept the C++ compiler driver icpc, inturn it only=20 >accepts icc for both C compiler and C++ compiler. Is there someway I can=20 >fix this? > This has been recently fixed: either refresh from CVS, or download the=20 latest runConfigure from=20 http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-xerces/c/src/xercesc/ru nConfigure?rev=3D1.42 Alberto > >./runConfigure -plinux -cicc -xicpc >......................... >export CC=3D"icc" >export CXX=3D"" >export CXXFLAGS=3D" -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL = -DPROJ_PARSERS=20 >-DPROJ_SA >X4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS=20 >-DXML_USE_NAT > > > >./runConfigure -plinux -cicc -xicc >.......................... >export CC=3D"icc" >export CXX=3D"icc" >export CXXFLAGS=3D" -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL = -DPROJ_PARSERS=20 >-DPROJ_SA >X4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS=20 >-DXML_USE_NAT > > >Thanks >shamla > --------------------------------------------------------------------- To unsubscribe, e-mail: vanessapratt@example.net For additional commands, e-mail: vanessapratt@example.net --------------------------------------------------------------------- To unsubscribe, e-mail: vanessapratt@example.net For additional commands, e-mail: vanessapratt@example.net From xerces-cvanessapratt@example.net Tue Feb 01 19:18:22 2005 Return-Path: <xerces-cvanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 46076 invoked from network); 1 Feb 2005 19:18:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Feb 2005 19:18:22 -0000 Received: (qmail 19880 invoked by uid 500); 1 Feb 2005 19:18:18 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 19855 invoked by uid 500); 1 Feb 2005 19:18:18 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk Reply-To: vanessapratt@example.net list-help: <mailto:vanessapratt@example.net> list-unsubscribe: <mailto:vanessapratt@example.net> list-post: <mailto:vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 19840 invoked by uid 99); 1 Feb 2005 19:18:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Feb 2005 11:18:16 -0800 Received: from ajax.apache.org (ajax.apache.org [83.161.120.155]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j11JDLQo015795 for <vanessapratt@example.net>; Tue, 1 Feb 2005 20:13:21 +0100 Message-ID: <vanessapratt@example.net> Date: Tue, 1 Feb 2005 20:13:21 +0100 (CET) From: "Robert Buck (JIRA)" <vanessapratt@example.net> To: vanessapratt@example.net Subject: [jira] Commented: (XERCESC-1331) Globals intended for use in a single file should be static In-Reply-To: <{{EMAIL+PHONE}}> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XERCESC-1331?page=3Dcomments#ac= tion_58429 ] =20 Robert Buck commented on XERCESC-1331: -------------------------------------- I'll let others defend the idiom: >From Bjarne Stroustrup: "The use of static to indicate 'local to translation unit' is deprecate= d in C++. Use unnamed NameSpaces instead." [Bjarne Stroustrup, The C++ Prog= ramming Language, 3rd ed, pg 819] "In C and older C++ programs, the keyword static is (confusingly) used = to mean 'use internal linkage' Don't use static except inside functions and= classes." [Bjarne Stroustrup, The C++ Programming Language, 3rd ed, pg 200= ] >From IBM: "Items defined in an unnamed namespace have internal linkage. Rather th= an using the keyword static to define items with internal linkage, define t= hem in an unnamed namespace instead." >From Microsoft: "Unnamed namespaces are a superior replacement for the static declarati= on of variables. They allow variables and functions to be visible within an= entire translation unit, yet not visible externally. Although entities in = an unnamed namespace might have external linkage, they are effectively qual= ified by a name unique to their translation unit and therefore can never be= seen from any other translation unit." [MSDN Online] Lastly, and most importantly, from the C++ Standard itself: "The use of the static keyword is deprecated when declaring objects in = a namespace scope (see annex D); the unnamed-namespace provides a superior = alternative." [Programming languages =97 C++, ISO/IEC 14882:2003(E)] > Globals intended for use in a single file should be static > ---------------------------------------------------------- > > Key: XERCESC-1331 > URL: http://issues.apache.org/jira/browse/XERCESC-1331 > Project: Xerces-C++ > Type: Bug > Versions: 2.5.0, 2.6.0 > Environment: Win32, Visual Studio .NET 2003, static library > Reporter: Jesse Pelton > Priority: Minor > > util/NetAccessors/WinSock/BinHTTPURLInputStream.cpp declares and uses sev= eral global variables. These variables do not appear to be intended to be = visible outside the module. If this is the case, they should be declared s= tatic. > I bumped into this when trying to build the Apache XML Security code with= a) Xerces namespace support disabled and b) a statically linked Xerces lib= rary. XML Security has a modified version of the BinHTTPURLInputStream cla= ss, including copies of the offending globals. This results in warnings fr= om the linker when it detects that the globals are multiply defined. They = should fix their end, too (I'll file a report there, too), but the Xerces c= ode should correctly declare its intent as well. > Changing util/NetAccessors/WinSock/BinHTTPURLInputStream.cpp is simple. = The following lines need "static " inserted at the beginning: > HMODULE gWinsockLib =3D NULL; > LPFN_GETHOSTBYNAME gWSgethostbyname =3D NULL; > LPFN_INET_ADDR gWSinet_addr =3D NULL; > LPFN_GETHOSTBYADDR gWSgethostbyaddr =3D NULL; > LPFN_HTONS gWShtons =3D NULL; > LPFN_SOCKET gWSsocket =3D NULL; > LPFN_CONNECT gWSconnect =3D NULL; > LPFN_SEND gWSsend =3D NULL; > LPFN_RECV gWSrecv =3D NULL; > LPFN_SHUTDOWN gWSshutdown =3D NULL; > LPFN_CLOSESOCKET gWSclosesocket =3D NULL; > LPFN_WSACLEANUP gWSACleanup =3D NULL; > The result: > static HMODULE gWinsockLib =3D NULL; > static LPFN_GETHOSTBYNAME gWSgethostbyname =3D NULL; > static LPFN_INET_ADDR gWSinet_addr =3D NULL; > static LPFN_GETHOSTBYADDR gWSgethostbyaddr =3D NULL; > static LPFN_HTONS gWShtons =3D NULL; > static LPFN_SOCKET gWSsocket =3D NULL; > static LPFN_CONNECT gWSconnect =3D NULL; > static LPFN_SEND gWSsend =3D NULL; > static LPFN_RECV gWSrecv =3D NULL; > static LPFN_SHUTDOWN gWSshutdown =3D NULL; > static LPFN_CLOSESOCKET gWSclosesocket =3D NULL; > static LPFN_WSACLEANUP gWSACleanup =3D NULL; --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: vanessapratt@example.net For additional commands, e-mail: vanessapratt@example.net From xerces-cvanessapratt@example.net Tue Feb 01 20:18:49 2005 Return-Path: <xerces-cvanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 88959 invoked from network); 1 Feb 2005 20:18:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Feb 2005 20:18:47 -0000 Received: (qmail 44581 invoked by uid 500); 1 Feb 2005 20:18:44 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 44557 invoked by uid 500); 1 Feb 2005 20:18:44 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk Reply-To: vanessapratt@example.net list-help: <mailto:vanessapratt@example.net> list-unsubscribe: <mailto:vanessapratt@example.net> list-post: <mailto:vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 44544 invoked by uid 99); 1 Feb 2005 20:18:44 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Feb 2005 12:18:44 -0800 Received: from ajax.apache.org (ajax.apache.org [83.161.120.155]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j11JOJeK018879 for <vanessapratt@example.net>; Tue, 1 Feb 2005 20:24:19 +0100 Message-ID: <vanessapratt@example.net> Date: Tue, 1 Feb 2005 20:24:19 +0100 (CET) From: "David Bertoni (JIRA)" <vanessapratt@example.net> To: vanessapratt@example.net Subject: [jira] Commented: (XERCESC-1331) Globals intended for use in a single file should be static In-Reply-To: <{{EMAIL+PHONE}}> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XERCESC-1331?page=comments#action_58432 ] David Bertoni commented on XERCESC-1331: ---------------------------------------- The Xerces-C code uses file statics because not all supported compilers support namespaces. If the code shifts to using the unnamed-namespace, that means it will no longer build with those older compilers. Since that's a fairly significant shift in direction, it ought to be reviewed by the committers, at the very least, if not by the PMC. > Globals intended for use in a single file should be static > ---------------------------------------------------------- > > Key: XERCESC-1331 > URL: http://issues.apache.org/jira/browse/XERCESC-1331 > Project: Xerces-C++ > Type: Bug > Versions: 2.5.0, 2.6.0 > Environment: Win32, Visual Studio .NET 2003, static library > Reporter: Jesse Pelton > Priority: Minor > > util/NetAccessors/WinSock/BinHTTPURLInputStream.cpp declares and uses several global variables. These variables do not appear to be intended to be visible outside the module. If this is the case, they should be declared static. > I bumped into this when trying to build the Apache XML Security code with a) Xerces namespace support disabled and b) a statically linked Xerces library. XML Security has a modified version of the BinHTTPURLInputStream class, including copies of the offending globals. This results in warnings from the linker when it detects that the globals are multiply defined. They should fix their end, too (I'll file a report there, too), but the Xerces code should correctly declare its intent as well. > Changing util/NetAccessors/WinSock/BinHTTPURLInputStream.cpp is simple. The following lines need "static " inserted at the beginning: > HMODULE gWinsockLib = NULL; > LPFN_GETHOSTBYNAME gWSgethostbyname = NULL; > LPFN_INET_ADDR gWSinet_addr = NULL; > LPFN_GETHOSTBYADDR gWSgethostbyaddr = NULL; > LPFN_HTONS gWShtons = NULL; > LPFN_SOCKET gWSsocket = NULL; > LPFN_CONNECT gWSconnect = NULL; > LPFN_SEND gWSsend = NULL; > LPFN_RECV gWSrecv = NULL; > LPFN_SHUTDOWN gWSshutdown = NULL; > LPFN_CLOSESOCKET gWSclosesocket = NULL; > LPFN_WSACLEANUP gWSACleanup = NULL; > The result: > static HMODULE gWinsockLib = NULL; > static LPFN_GETHOSTBYNAME gWSgethostbyname = NULL; > static LPFN_INET_ADDR gWSinet_addr = NULL; > static LPFN_GETHOSTBYADDR gWSgethostbyaddr = NULL; > static LPFN_HTONS gWShtons = NULL; > static LPFN_SOCKET gWSsocket = NULL; > static LPFN_CONNECT gWSconnect = NULL; > static LPFN_SEND gWSsend = NULL; > static LPFN_RECV gWSrecv = NULL; > static LPFN_SHUTDOWN gWSshutdown = NULL; > static LPFN_CLOSESOCKET gWSclosesocket = NULL; > static LPFN_WSACLEANUP gWSACleanup = NULL; -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: vanessapratt@example.net For additional commands, e-mail: vanessapratt@example.net From xerces-cvanessapratt@example.net Tue Feb 01 20:18:54 2005 Return-Path: <xerces-cvanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 89039 invoked from network); 1 Feb 2005 20:18:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Feb 2005 20:18:54 -0000 Received: (qmail 45085 invoked by uid 500); 1 Feb 2005 20:18:49 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 45057 invoked by uid 500); 1 Feb 2005 20:18:49 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk Reply-To: vanessapratt@example.net list-help: <mailto:vanessapratt@example.net> list-unsubscribe: <mailto:vanessapratt@example.net> list-post: <mailto:vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 45042 invoked by uid 99); 1 Feb 2005 20:18:48 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Feb 2005 12:18:48 -0800 Received: from ajax.apache.org (ajax.apache.org [83.161.120.155]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j11JkIfD020126 for <vanessapratt@example.net>; Tue, 1 Feb 2005 20:46:18 +0100 Message-ID: <vanessapratt@example.net> Date: Tue, 1 Feb 2005 20:46:18 +0100 (CET) From: "Jesse Pelton (JIRA)" <vanessapratt@example.net> To: vanessapratt@example.net Subject: [jira] Commented: (XERCESC-1331) Globals intended for use in a single file should be static In-Reply-To: <{{EMAIL+PHONE}}> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XERCESC-1331?page=comments#action_58434 ] Jesse Pelton commented on XERCESC-1331: --------------------------------------- Another alternative is to make the variables static class members. I didn't mention it earlier because I assumed there's a reason they're not already there. Even if it were decided to drop support for compilers that don't support namespaces (which seems like a huge step, and disproportionate to the problem at hand), I'd need this to work when Xerces' namespace support is disabled. > Globals intended for use in a single file should be static > ---------------------------------------------------------- > > Key: XERCESC-1331 > URL: http://issues.apache.org/jira/browse/XERCESC-1331 > Project: Xerces-C++ > Type: Bug > Versions: 2.5.0, 2.6.0 > Environment: Win32, Visual Studio .NET 2003, static library > Reporter: Jesse Pelton > Priority: Minor > > util/NetAccessors/WinSock/BinHTTPURLInputStream.cpp declares and uses several global variables. These variables do not appear to be intended to be visible outside the module. If this is the case, they should be declared static. > I bumped into this when trying to build the Apache XML Security code with a) Xerces namespace support disabled and b) a statically linked Xerces library. XML Security has a modified version of the BinHTTPURLInputStream class, including copies of the offending globals. This results in warnings from the linker when it detects that the globals are multiply defined. They should fix their end, too (I'll file a report there, too), but the Xerces code should correctly declare its intent as well. > Changing util/NetAccessors/WinSock/BinHTTPURLInputStream.cpp is simple. The following lines need "static " inserted at the beginning: > HMODULE gWinsockLib = NULL; > LPFN_GETHOSTBYNAME gWSgethostbyname = NULL; > LPFN_INET_ADDR gWSinet_addr = NULL; > LPFN_GETHOSTBYADDR gWSgethostbyaddr = NULL; > LPFN_HTONS gWShtons = NULL; > LPFN_SOCKET gWSsocket = NULL; > LPFN_CONNECT gWSconnect = NULL; > LPFN_SEND gWSsend = NULL; > LPFN_RECV gWSrecv = NULL; > LPFN_SHUTDOWN gWSshutdown = NULL; > LPFN_CLOSESOCKET gWSclosesocket = NULL; > LPFN_WSACLEANUP gWSACleanup = NULL; > The result: > static HMODULE gWinsockLib = NULL; > static LPFN_GETHOSTBYNAME gWSgethostbyname = NULL; > static LPFN_INET_ADDR gWSinet_addr = NULL; > static LPFN_GETHOSTBYADDR gWSgethostbyaddr = NULL; > static LPFN_HTONS gWShtons = NULL; > static LPFN_SOCKET gWSsocket = NULL; > static LPFN_CONNECT gWSconnect = NULL; > static LPFN_SEND gWSsend = NULL; > static LPFN_RECV gWSrecv = NULL; > static LPFN_SHUTDOWN gWSshutdown = NULL; > static LPFN_CLOSESOCKET gWSclosesocket = NULL; > static LPFN_WSACLEANUP gWSACleanup = NULL; -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: vanessapratt@example.net For additional commands, e-mail: vanessapratt@example.net From xerces-cvanessapratt@example.net Tue Feb 01 20:49:23 2005 Return-Path: <xerces-cvanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 12570 invoked from network); 1 Feb 2005 20:49:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Feb 2005 20:49:23 -0000 Received: (qmail 2172 invoked by uid 500); 1 Feb 2005 20:49:22 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 1726 invoked by uid 500); 1 Feb 2005 20:49:21 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk Reply-To: vanessapratt@example.net list-help: <mailto:vanessapratt@example.net> list-unsubscribe: <mailto:vanessapratt@example.net> list-post: <mailto:vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 1711 invoked by uid 99); 1 Feb 2005 20:49:21 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from eis-msg-012.jpl.nasa.gov (HELO eis-msg-012.jpl.nasa.gov) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Feb 2005 12:49:20 -0800 Received: from brutocao.jpl.nasa.gov (brutocao.jpl.nasa.gov [83.161.120.155]) by eis-msg-012.jpl.nasa.gov (8.12.10/8.12.10) with ESMTP id j11KnJx6025467 for <vanessapratt@example.net>; Tue, 1 Feb 2005 12:49:19 -0800 (PST) Message-Id: <vanessapratt@example.net> X-Sender: vanessapratt@example.net (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 83.161.120.155 Date: Tue, 01 Feb 2005 12:49:17 -0800 To: vanessapratt@example.net From: brutocao <vanessapratt@example.net> Subject: Getting PSVI from DOM tree Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_1217212519==.ALT" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=====================_1217212519==.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed Hello, I have been looking through the xerces mail archives, and still cannot seem to get my code to work. My basic question is: if I am walking the DOM tree using xerces-c++, how can I get at the PSVI information from a DOMNode pointer (which I call curNode in the code samples below)? I found this code to work: const XMLCh *typeName; DOMPSVITypeInfo *psviType; psviType = (DOMPSVITypeInfo*) curNode->getInterface(XMLUni888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4gXercescInterfacePSVITypeInfo); if (!psviType) return DMT_NONE; typeName = psviType->getStringProperty(DOMPSVITypeInfo888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4PSVI_Type_Definition_Name); if (!typeName) return DMT_NONE; if (!strcmp(S(typeName), "string")) return DMT_STRING; if (!strcmp(S(typeName), "boolean")) return DMT_BOOL; if (!strcmp(S(typeName), "integer") || !strcmp(S(typeName), "short") || !strcmp(S(typeName), "long")) return DMT_INT; if (!strcmp(S(typeName), "double") || !strcmp(S(typeName), "float")) return DMT_DOUBLE; which is great, but it only handles finding the type of an element when the type is an attribute on that element. But I want to find out everything about an element, including when it is a complex type or a simple type with restrictions. For instance, if the schema says: <xs:element name="Years"> <xs:simpleType> <xs:restriction base="xs:integer"> <xs:minInclusive value="1900"/> <xs:maxInclusive value="3000"/> </xs:restriction> </xs:simpleType> </xs:element> how can I find out the minInclusive and maxInclusive values straight from the DOMNode pointer to the "Years" element? I have tried code such as: PSVIElement *psviElem = (PSVIElement *) curNode; XSTypeDefinition *def = psviElem->getTypeDefinition(); cout<<psviElem->getValidity()<<endl; enum XSTypeDefinition888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4TYPE_CATEGORY cat = def->getTypeCategory(); cout<<cat<<endl; if (cat == XSTypeDefinition888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4OMPLEX_TYPE) { cout<<"yes"<<endl; } but this code produces garbage in the cout's. Can you help me? Thanks much, Jim --=====================_1217212519==.ALT Content-Type: text/html; charset="us-ascii" <html> <body> Hello,<br><br> I have been looking through the xerces mail archives, and still cannot seem to get my code to work. My basic question is: if I am walking the DOM tree using xerces-c++, how can I get at the PSVI information from a DOMNode pointer (which I call curNode in the code samples below)? I found this code to work:<br><br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><font color="#0000FF">const</font> XMLCh *typeName;<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>DOMPSVITypeInfo *psviType;<br><br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>psviType = (DOMPSVITypeInfo*) <br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>curNode-&gt;getInterface(XMLUni888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4gXercescInterfacePSVITypeInfo);<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><font color="#0000FF">if</font> (!psviType) <font color="#0000FF">return</font> DMT_NONE;<br> &nbsp;&nbsp; <br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>typeName = <br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>psviType-&gt;getStringProperty(DOMPSVITypeInfo888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4PSVI_Type_Definition_Name);<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><font color="#0000FF">if</font> (!typeName) <font color="#0000FF">return</font> DMT_NONE;<br><br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><font color="#0000FF">if</font> (!strcmp(S(typeName), &quot;string&quot;))&nbsp; <font color="#0000FF">return</font> DMT_STRING;<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><font color="#0000FF">if</font> (!strcmp(S(typeName), &quot;boolean&quot;)) <font color="#0000FF">return</font> DMT_BOOL;<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><font color="#0000FF">if</font> (!strcmp(S(typeName), &quot;integer&quot;) ||<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>!strcmp(S(typeName), &quot;short&quot;) ||<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>!strcmp(S(typeName), &quot;long&quot;)) <font color="#0000FF">return</font> DMT_INT;<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><font color="#0000FF">if</font> (!strcmp(S(typeName), &quot;double&quot;) ||<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>!strcmp(S(typeName), &quot;float&quot;)) <font color="#0000FF">return</font> DMT_DOUBLE;<br><br> which is great, but it only handles finding the type of an element when the type is an attribute on that element. But I want to find out everything about an element, including when it is a complex type or a simple type with restrictions. For instance, if the schema says:<br><br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>&lt;xs:element name=&quot;Years&quot;&gt;<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>&lt;xs:simpleType&gt;<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>&lt;xs:restriction base=&quot;xs:integer&quot;&gt;<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>&lt;xs:minInclusive value=&quot;1900&quot;/&gt;<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>&lt;xs:maxInclusive value=&quot;3000&quot;/&gt;<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>&lt;/xs:restriction&gt;<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>&lt;/xs:simpleType&gt;<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>&lt;/xs:element&gt;<br><br> how can I find out the minInclusive and maxInclusive values straight from the DOMNode pointer to the &quot;Years&quot; element? I have tried code such as:<br><br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>PSVIElement *psviElem = (PSVIElement *) curNode;<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>XSTypeDefinition *def = psviElem-&gt;getTypeDefinition();<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>cout&lt;&lt;psviElem-&gt;getValidity()&lt;&lt;endl;<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><font color="#0000FF">enum</font> XSTypeDefinition888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4TYPE_CATEGORY cat = def-&gt;getTypeCategory();<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>cout&lt;&lt;cat&lt;&lt;endl;<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><font color="#0000FF">if</font> (cat == XSTypeDefinition888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4OMPLEX_TYPE)<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>{<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>cout&lt;&lt;&quot;yes&quot;&lt;&lt;endl;<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>}<br><br> but this code produces garbage in the cout's.<br><br> Can you help me?<br><br> Thanks much,<br><br> Jim</body> </html> --=====================_1217212519==.ALT-- From xerces-cvanessapratt@example.net Tue Feb 01 20:57:40 2005 Return-Path: <xerces-cvanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 16387 invoked from network); 1 Feb 2005 20:57:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Feb 2005 20:57:39 -0000 Received: (qmail 14901 invoked by uid 500); 1 Feb 2005 20:57:31 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 14845 invoked by uid 500); 1 Feb 2005 20:57:31 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk Reply-To: vanessapratt@example.net list-help: <mailto:vanessapratt@example.net> list-unsubscribe: <mailto:vanessapratt@example.net> list-post: <mailto:vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 14804 invoked by uid 99); 1 Feb 2005 20:57:30 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from pscgate.progress.com (HELO pscgate.progress.com) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Feb 2005 12:57:29 -0800 Received: from elvirus1.progress.com (elvirus1 [83.161.120.155]) by pscgate.progress.com (8.12.11/8.12.11/PSC-5.11) with ESMTP id j11KvPYE001257 for <vanessapratt@example.net>; Tue, 1 Feb 2005 15:57:25 -0500 (EST) Received: from progress.com (localhost [83.161.120.155]) by elvirus1.progress.com (8.12.11/8.12.11/PSC-5.11) with ESMTP id j11KvOYU029959 for <vanessapratt@example.net>; Tue, 1 Feb 2005 15:57:24 -0500 (EST) Received: from NTEXFE02.bedford.progress.com (ntexfe02 [83.161.120.155]) by progress.com (8.11.6/8.11.6) with ESMTP id j11KvOc19950 for <vanessapratt@example.net>; Tue, 1 Feb 2005 15:57:24 -0500 (EST) Received: from AlbertoMassari.datadirect.com ([83.161.120.155]) by NTEXFE02.bedford.progress.com with Microsoft SMTPSVC(6.0.3790.0); Tue, 1 Feb 2005 15:57:23 -0500 Message-Id: <vanessapratt@example.net> X-Mailer: QUALCOMM Windows Eudora Version 83.161.120.155 Date: Tue, 01 Feb 2005 21:57:12 +0100 To: vanessapratt@example.net From: Alberto Massari <vanessapratt@example.net> Subject: Re: Getting PSVI from DOM tree In-Reply-To: <vanessapratt@example.net> References: <vanessapratt@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-OriginalArrivalTime: 01 Feb 2005 20:57:23.0360 (UTC) FILETIME=[A0AFEA00:01C508A0] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Jim, At 12.49 01/02/2005 -0800, brutocao wrote: >Hello, > >I have been looking through the xerces mail archives, and still cannot >seem to
{'source': 'Apache Software Foundation Public Mail Archives'}