From wgentry@example.com Thu Sep 01 16:53:11 2005 Return-Path: <wgentry@example.com> Delivered-To: wgentry@example.com Received: (qmail 74416 invoked from network); 1 Sep 2005 16:53:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Sep 2005 16:53:10 -0000 Received: (qmail 87794 invoked by uid 500); 1 Sep 2005 16:53:09 -0000 Delivered-To: wgentry@example.com Received: (qmail 87753 invoked by uid 500); 1 Sep 2005 16:53:08 -0000 Mailing-List: contact wgentry@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:wgentry@example.com> List-Unsubscribe: <mailto:wgentry@example.com> List-Post: <mailto:wgentry@example.com> List-Id: <c-dev.xerces.apache.org> Reply-To: wgentry@example.com Delivered-To: mailing list wgentry@example.com Received: (qmail 87739 invoked by uid 500); 1 Sep 2005 16:53:08 -0000 Delivered-To: wgentry@example.com Received: (qmail 87735 invoked by uid 99); 1 Sep 2005 16:53:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2005 09:53:08 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO aragorn.bbn.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2005 09:53:21 -0700 Received: from mseldin (col-dhcp33-244-219.bbn.com [83.161.120.155]) by aragorn.bbn.com (8.12.7/8.12.7) with ESMTP id j81GquDf025642 for <wgentry@example.com>; Thu, 1 Sep 2005 12:53:00 -0400 (EDT) Message-Id: <wgentry@example.com> From: "Marc Seldin" <wgentry@example.com> To: <wgentry@example.com> Subject: position offsets in xerces Date: Thu, 1 Sep 2005 12:52:56 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_006C_01C5AEF4.13323D40" X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Thread-Index: AcWvFZdgnc5jLZ8aTrCAZvnO5wLXQw== X-Virus-Scanned: ClamAV version 0.83, clamav-milter version 0.83 on 83.161.120.155 X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_NextPart_000_006C_01C5AEF4.13323D40 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I'm struggling with a frustrating problem. Ultimately I'm working on an NLP application where I need to locate the file offset positions where elements occur. I can't find a way to get this in DOM mode, so I turned to SAX parsing. My thought was to create a DOM object via a SAX handler and use the setuserdata method to store the node offsets as these are discovered. However, only one kind of object, a DOMLocator, seems to provide this information. In contrast, the only type of object that seems available in SAX parsing (as far as I've discovered) is a straight Locator object, which is unrelated to the DOMLocator in any way. My questions are thus: 1) Is there a better way to get these offset then going through SAX parsing? 2) Even using SAX parsing, how do I involve the DOMLocator class? Or am I on the wrong track completely there? Thanks in advance. _______________________________________________ Marc Seldin Scientist BBN Technologies (985)463-6258 ------=_NextPart_000_006C_01C5AEF4.13323D40 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;} /* List Definitions */ ol {margin-bottom:0in;} ul {margin-bottom:0in;} --> </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'>I&#8217;m struggling with a frustrating problem. = Ultimately I&#8217;m working on an NLP application where I need to locate the file offset = positions where elements occur. I can&#8217;t find a way to get this in DOM mode, so I = turned to SAX parsing. My thought was to create a DOM object via a SAX handler = and use the setuserdata method to store the node offsets as these are = discovered.</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'>However, only one kind of object, a DOMLocator, seems = to provide this information. In contrast, the only type of object that = seems available in SAX parsing (as far as I&#8217;ve discovered) is a straight = Locator object, which is unrelated to the DOMLocator in any = way.</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'>My questions are thus:</span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in;text-indent:-.25in'><font = size=3D2 face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>1)<font = size=3D1 face=3D"Times New Roman"><span style=3D'font:7.0pt "Times New = Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span></font><font size=3D2 face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial'>Is there a better way to get these offset then = going through SAX parsing?</span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in;text-indent:-.25in'><font = size=3D2 face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>2)<font = size=3D1 face=3D"Times New Roman"><span style=3D'font:7.0pt "Times New = Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span></font><font size=3D2 face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial'>Even using SAX parsing, how do I involve the DOMLocator class? Or am I on the wrong track completely = there?</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 in advance.</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=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>_______________________________________________</span>= </font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Marc Seldin</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Scientist</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>BBN Technologies</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>(985)463-6258</span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>&nbsp;</span></font></p> </div> </body> </html> ------=_NextPart_000_006C_01C5AEF4.13323D40-- From wgentry@example.com Thu Sep 01 17:28:42 2005 Return-Path: <wgentry@example.com> Delivered-To: wgentry@example.com Received: (qmail 89405 invoked from network); 1 Sep 2005 17:28:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Sep 2005 17:28:42 -0000 Received: (qmail 39889 invoked by uid 500); 1 Sep 2005 17:28:40 -0000 Delivered-To: wgentry@example.com Received: (qmail 39864 invoked by uid 500); 1 Sep 2005 17:28:40 -0000 Mailing-List: contact wgentry@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:wgentry@example.com> List-Unsubscribe: <mailto:wgentry@example.com> List-Post: <mailto:wgentry@example.com> List-Id: <c-dev.xerces.apache.org> Reply-To: wgentry@example.com Delivered-To: mailing list wgentry@example.com Received: (qmail 39851 invoked by uid 99); 1 Sep 2005 17:28:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2005 10:28:40 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO pscgate.progress.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2005 10:28:55 -0700 Received: from ntegp01.bedford.progress.com ([83.161.120.155]) by pscgate.progress.com (8.12.11/8.12.11/PSC-5.11) with ESMTP id j81HSYf0027996 for <wgentry@example.com>; Thu, 1 Sep 2005 13:28:35 -0400 (EDT) Received: from progress.com ([83.161.120.155]) by ntegp01.bedford.progress.com (MailFrontier 83.161.120.15529) with ESMTP; Thu, 01 Sep 2005 13:28:37 -0400 Received: from NTEXFE01.bedford.progress.com (ntexfe01 [83.161.120.155]) by progress.com (8.11.6/8.11.6) with ESMTP id j81HSYF16342 for <wgentry@example.com>; Thu, 1 Sep 2005 13:28:34 -0400 (EDT) Received: from AlbertoMassari.datadirect.com ([83.161.120.155]) by NTEXFE01.bedford.progress.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 1 Sep 2005 13:28:31 -0400 Message-Id: <wgentry@example.com> X-Mailer: QUALCOMM Windows Eudora Version 83.161.120.155 Date: Thu, 01 Sep 2005 19:28:10 +0200 To: wgentry@example.com From: Alberto Massari <wgentry@example.com> Subject: Re: position offsets in xerces In-Reply-To: <wgentry@example.com> References: <wgentry@example.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-OriginalArrivalTime: 01 Sep 2005 17:28:33.0513 (UTC) FILETIME=[93E3FD90:01C5AF1A] X-Mlf-Version: 83.161.120.15529 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Marc, I would create a class derived from the XercesDOMParser and override the startElement API; there I would call the base class' implementation, then retrieve getScanner()->getSrcOffset() and store it in the newly created node (fCurrentNode, or, if the isEmpty parameter is "true", fCurrentParent). You can also do the same using the SAX parser. wgentry@example.com 01/09/2005 -0400, Marc Seldin wrote: >I'm struggling with a frustrating problem. Ultimately I'm working on >an NLP application where I need to locate the file offset positions >where elements occur. I can't find a way to get this in DOM mode, so >I turned to SAX parsing. My thought was to create a DOM object via a >SAX handler and use the setuserdata method to store the node offsets >as these are discovered. > >However, only one kind of object, a DOMLocator, seems to provide >this information. In contrast, the only type of object that seems >available in SAX parsing (as far as I've discovered) is a straight >Locator object, which is unrelated to the DOMLocator in any way. > >My questions are thus: >1) Is there a better way to get these offset then going >through SAX parsing? >2) Even using SAX parsing, how do I involve the DOMLocator >class? Or am I on the wrong track completely there? > >Thanks in advance. > > > >_______________________________________________ >Marc Seldin >Scientist >BBN Technologies >(985)463-6258 > --------------------------------------------------------------------- To unsubscribe, e-mail: wgentry@example.com For additional commands, e-mail: wgentry@example.com From wgentry@example.com Thu Sep 01 21:25:54 2005 Return-Path: <wgentry@example.com> Delivered-To: wgentry@example.com Received: (qmail 88481 invoked from network); 1 Sep 2005 21:25:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Sep 2005 21:25:54 -0000 Received: (qmail 34588 invoked by uid 500); 1 Sep 2005 21:25:52 -0000 Delivered-To: wgentry@example.com Received: (qmail 34497 invoked by uid 500); 1 Sep 2005 21:25:51 -0000 Mailing-List: contact wgentry@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:wgentry@example.com> List-Unsubscribe: <mailto:wgentry@example.com> List-Post: <mailto:wgentry@example.com> List-Id: <c-dev.xerces.apache.org> Reply-To: wgentry@example.com Delivered-To: mailing list wgentry@example.com Received: (qmail 34454 invoked by uid 99); 1 Sep 2005 21:25:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2005 14:25:51 -0700 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO smtp109.sbc.mail.mud.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 01 Sep 2005 14:26:05 -0700 Received: (qmail 9983 invoked from network); 1 Sep 2005 21:25:47 -0000 Received: from unknown (HELO INSPIRATION) (wgentry@example.com@83.161.120.155 with login) by smtp109.sbc.mail.mud.yahoo.com with SMTP; 1 Sep 2005 21:25:47 -0000 Reply-To: <wgentry@example.com> From: "Elisha Berns" <wgentry@example.com> To: <wgentry@example.com> Subject: RE: How to clone remote file(s) Date: Thu, 1 Sep 2005 14:25:42 -0700 Message-ID: <000001c5af3b$b8c70870$6a1aa8c0@INSPIRATION> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal In-Reply-To: <wgentry@example.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks for the tip. Question about SystemIds and XMLURL: Before cloning a remote file, I am trying to determine whether it is a local file already or a remote file. To this end I am trying to use an XMLURL object to parse the SystemId and then calling XMLURL888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4getProtocol(). But XMLURL888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4parse() return false if the SystemId is a local file or if its an invalid SystemId. And it will never work correctly at that point to tell me if its 'protocol' is XMLURL888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ile. It only reports correctly if its an HTTP or FTP protocol. So is there some way, or a better way in Xerces to tell if a SystemId is a local file? Many thanks, Elisha Berns > > If a schema is located remotely and accessible through HTTP or FTP is > > there a way using Xerces to copy it to a local file? I've looked at > > some classes such as BinInputStream and the MemoryPool methods > > serialize() and deserialize() and so far I don't get the simple way to > > do this type of operation. > > > > Presumably you create an XMLUrl and pass it to a URLInputStream, but at > > that point I'm at a loss as to what to do. > > You don't need a URLInputStream instance. XMLUrl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4makeNewStream will > return an instance of a BinInputStream which you can use to read the bytes > of the resource. For writing the local file, you can use whatever C/C++ > functionality you prefer. Just remember to delete the BinInputStream > instances when you're finished. > > Dave > > --------------------------------------------------------------------- > To unsubscribe, e-mail: wgentry@example.com > For additional commands, e-mail: wgentry@example.com --------------------------------------------------------------------- To unsubscribe, e-mail: wgentry@example.com For additional commands, e-mail: wgentry@example.com From wgentry@example.com Thu Sep 01 21:30:23 2005 Return-Path: <wgentry@example.com> Delivered-To: wgentry@example.com Received: (qmail 90234 invoked from network); 1 Sep 2005 21:30:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Sep 2005 21:30:23 -0000 Received: (qmail 41536 invoked by uid 500); 1 Sep 2005 21:30:21 -0000 Delivered-To: wgentry@example.com Received: (qmail 41507 invoked by uid 500); 1 Sep 2005 21:30:21 -0000 Mailing-List: contact wgentry@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:wgentry@example.com> List-Unsubscribe: <mailto:wgentry@example.com> List-Post: <mailto:wgentry@example.com> List-Id: <c-dev.xerces.apache.org> Reply-To: wgentry@example.com Delivered-To: mailing list wgentry@example.com Received: (qmail 41494 invoked by uid 99); 1 Sep 2005 21:30:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2005 14:30:21 -0700 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO smtp110.sbc.mail.mud.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 01 Sep 2005 14:30:35 -0700 Received: (qmail 84272 invoked from network); 1 Sep 2005 21:30:18 -0000 Received: from unknown (HELO INSPIRATION) (wgentry@example.com@83.161.120.155 with login) by smtp110.sbc.mail.mud.yahoo.com with SMTP; 1 Sep 2005 21:30:18 -0000 Reply-To: <wgentry@example.com> From: "Elisha Berns" <wgentry@example.com> To: "Xerces C++ Development" <wgentry@example.com> Subject: Enumeration Annotations Date: Thu, 1 Sep 2005 14:30:14 -0700 Message-ID: <000101c5af3c$5a2e27c0$6a1aa8c0@INSPIRATION> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I have another question about annotations: I have come across several XSD schemas that also document enumeration elements with annotations. Xerces accepts these as valid XSD on one hand, but on the other doesn't create any annotation object(s) for the enumeration(s). Is this another case of how the schema standard and the schema object model differ? Is there any plan/feature request to add these enumeration-annotations to xerces' object model so as to enable retrieving them? Thanks, Elisha Berns wgentry@example.com tel. (985)463-6258 fax (985)463-6258 --------------------------------------------------------------------- To unsubscribe, e-mail: wgentry@example.com For additional commands, e-mail: wgentry@example.com From wgentry@example.com Fri Sep 02 08:43:01 2005 Return-Path: <wgentry@example.com> Delivered-To: wgentry@example.com Received: (qmail 10391 invoked from network); 2 Sep 2005 08:43:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Sep 2005 08:43:01 -0000 Received: (qmail 82834 invoked by uid 500); 2 Sep 2005 08:42:59 -0000 Delivered-To: wgentry@example.com Received: (qmail 82817 invoked by uid 500); 2 Sep 2005 08:42:58 -0000 Mailing-List: contact wgentry@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:wgentry@example.com> List-Unsubscribe: <mailto:wgentry@example.com> List-Post: <mailto:wgentry@example.com> List-Id: <c-dev.xerces.apache.org> Reply-To: wgentry@example.com Delivered-To: mailing list wgentry@example.com Received: (qmail 82803 invoked by uid 99); 2 Sep 2005 08:42:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2005 01:42:58 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO mail.blr.hexaware.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2005 01:43:12 -0700 In-Reply-To: <OF42BE7C6C.205E3575-ON65257066.004D5920-65257066.004DA402@LocalDomain> To: wgentry@example.com Subject: Re: WIN64 build on x64 platform using MSVS 2005 Beta MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5 September 26, 2003 Message-ID: <wgentry@example.com> From: wgentry@example.com Date: Fri, 2 Sep 2005 14:17:06 +0530 X-MIMETrack: Serialize by Router on TAJMAIL1/SRVR/HTL(Release 6.5.1|January 21, 2004) at 09/02/2005 02:17:12 PM, Serialize complete at 09/02/2005 02:17:12 PM Content-Type: text/plain; charset="US-ASCII" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Can anyone expalin the difference b/w the WIN32 native messageloader and INMEM messageloader? warm regards Saurabh Saurabh Bhatnagar/BLR/HTL 08/23/2005 07:38 PM To wgentry@example.com cc wgentry@example.com, wgentry@example.com, wgentry@example.com Subject Re: WIN64 build on x64 platform using MSVS 2005 Beta Hi I found the cause for this error is that there is no implementation for the constructor "InMemMsgLoader(unsigned short const * const)". It will link fine if we provide a do nothing constructir but as I see for other Message Loaders there will be initialisations required. For now, I am using the WIN32 message loader. I need to justify it's use instead of the INMEM, can anyone expain the difference? Thanks! warm regards Saurabh wgentry@example.com 08/23/2005 07:12 PM Please respond to wgentry@example.com To wgentry@example.com cc wgentry@example.com, wgentry@example.com, wgentry@example.com Subject Re: WIN64 build on x64 platform using MSVS 2005 Beta Hi All I have been able to build Xerces 64bit with 136 warnings. I removed the /MACHINE:I386 in the additional preprocessor options. I guess one MACHINE is enough. I used WIN32_MESSAGELOADER above. As per our requirements we need to use INMEM_MESSAGELOADER. When I specify that, I get this error: 1>Linking... 1> Creating library ..\..\..\..\..\Build\Win64\VC8\Release/xerces-c_2.lib and object ..\..\..\..\..\Build\Win64\VC8\Release/xerces-c_2.exp 1>Win32PlatformUtils.obj : error LNK2019: unresolved external symbol "public: __cdecl xercesc_2_888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4InMemMsgLoader888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4InMemMsgLoader(unsigned short const * const)" (??0InMemMsgLoader@xercesc_2_6@@QEAA@QEBG@Z) referenced in function "private: static class xercesc_2_888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4XMLMsgLoader * __cdecl xercesc_2_888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4XMLPlatformUtils888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4loadAMsgSet(unsigned short const * const)" (?loadAMsgSet@XMLPlatformUtils@xercesc_2_6@@CAPEAVXMLMsgLoader@2@QEBG@Z) 1>..\..\..\..\..\Build\Win64\VC8\Release\xerces-c_2_6.dll : fatal error LNK1120: 1 unresolved externals Any clues? Where does that symbol exist? I can't find it in the source. warm regards Saurabh Saurabh Bhatnagar/BLR/HTL 08/23/2005 02:14 PM To wgentry@example.com cc Akshya Pradhan/BLR/HTL@HTL, wgentry@example.com Subject Re: WIN64 build on x64 platform using MSVS 2005 Beta Just to add to the information, here is the Linker command line: /OUT:"..\..\..\..\..\Build\Win64\VC8\Release\xerces-c_2_6.dll" /INCREMENTAL:NO /NOLOGO /LIBPATH:"..\..\..\..\..\Build\Win64\VC8\Release" /DLL /MANIFEST /MANIFESTFILE:"x64\Release\xerces-c_2_6.dll.intermediate.manifest" /PDB:".\..\..\..\..\..\Build\Win64\VC8\Release/xerces-c_2_6.pdb" /MAP:".\..\..\..\..\..\Build\Win64\VC8\Release\obj/xerces-c_2_6.map" /SUBSYSTEM:WINDOWS /BASE:"0x12000000" /IMPLIB:"..\..\..\..\..\Build\Win64\VC8\Release/xerces-c_2.lib" /MACHINE:AMD64 /ERRORREPORT:PROMPT ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib I am using the AMD64 target machine, not x86 as it's found by MSVS!!! warm regards Saurabh Saurabh Bhatnagar/BLR/HTL 08/23/2005 12:51 PM To wgentry@example.com cc Akshya Pradhan/BLR/HTL@HTL, wgentry@example.com Subject WIN64 build on x64 platform using MSVS 2005 Beta I am getting this fatal error LNK1112 1>..\..\..\..\..\build\win64\vc8\release\obj\Base64.obj : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86' My command line in VC++ 8 looks like /O1 /Ob2 /I "..\..\..\..\..\src" /D "NDEBUG" /D "PLATFORM_WIN64" /D "_CRTDBG_MAP_ALLOC" /D "PROJ_XMLPARSER" /D "PROJ_XMLUTIL" /D "PROJ_PARSERS" /D "PROJ_SAX4C" /D "PROJ_SAX2" /D "PROJ_DOM" /D "PROJ_VALIDATORS" /D "XML_SINGLEDLL" /D "_WINDOWS" /D "XML_USE_WIN32_TRANSCODER" /D "XML_USE_INMEM_MESSAGELOADER" /D "XML_USE_NETACCESSOR_WINSOCK" /D "WIN64" /D "_VC80_UPGRADE=0x0700" /D "_WINDLL" /GF /FD /EHsc /MD /Zc:wchar_t- /Fp".\..\..\..\..\..\Build\Win64\VC8\Release\obj/XercesLib.pch" /Fo".\..\..\..\..\..\Build\Win64\VC8\Release\obj/" /Fd".\..\..\..\..\..\Build\Win64\VC8\Release\obj/" /W3 /nologo /c /TP /errorReport:prompt The WIN32, what I got from the SLN file has beenn updated with ""XML_USE_WIN32_TRANSCODER" - is there ""XML_USE_WIN64_TRANSCODER"?? and I have replaced "PLATFORM_WIN32" with "PLATFORM_WIN64" and added "WIN64". Please give me the proper steps to build. warm regards Saurabh --------------------------------------------------------------------- To unsubscribe, e-mail: wgentry@example.com For additional commands, e-mail: wgentry@example.com --------------------------------------------------------------------- To unsubscribe, e-mail: wgentry@example.com For additional commands, e-mail: wgentry@example.com From wgentry@example.com Fri Sep 02 09:15:29 2005 Return-Path: <wgentry@example.com> Delivered-To: wgentry@example.com Received: (qmail 25956 invoked from network); 2 Sep 2005 09:15:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Sep 2005 09:15:29 -0000 Received: (qmail 35753 invoked by uid 500); 2 Sep 2005 09:15:16 -0000 Delivered-To: wgentry@example.com Received: (qmail 35589 invoked by uid 500); 2 Sep 2005 09:15:15 -0000 Mailing-List: contact wgentry@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:wgentry@example.com> List-Unsubscribe: <mailto:wgentry@example.com> List-Post: <mailto:wgentry@example.com> List-Id: <c-dev.xerces.apache.org> Reply-To: wgentry@example.com Delivered-To: mailing list wgentry@example.com Received: (qmail 35560 invoked by uid 99); 2 Sep 2005 09:15:15 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO ajax.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2005 02:15:13 -0700 Received: from ajax.apache.org (ajax.apache.org [83.161.120.155]) by ajax.apache.org (Postfix) with ESMTP id BBFF8DF for <wgentry@example.com>; Fri, 2 Sep 2005 11:15:12 +0200 (CEST) Message-ID: <wgentry@example.com> Date: Fri, 2 Sep 2005 11:15:12 +0200 (CEST) From: "David Ergo (JIRA)" <wgentry@example.com> To: wgentry@example.com Subject: [jira] Created: (XERCESC-1489) Annoying compiler warnings Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Annoying compiler warnings -------------------------- Key: XERCESC-1489 URL: http://issues.apache.org/jira/browse/XERCESC-1489 Project: Xerces-C++ Type: Bug Components: Validating Parser (Schema) (Xerces 1.5 or up only) Versions: 2.7.0 Environment: RedHat Linux 7.3, g++ v3.3.3 Reporter: David Ergo Priority: Minor When compiling a program with #include <xercesc/sax2/XMLReaderFactory.hpp>, like SAX2Count, with warnings enabled (-Wall instead of -w), we get the following compiler warning : /usr/local/xerces-c/include/xercesc/validators/schema/SchemaElementDecl.hpp: In member function `virtual bool xercesc_2_888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4SchemaElementDecl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4isGlobalDecl() const': /usr/local/xerces-c/include/xercesc/validators/schema/SchemaElementDecl.hpp:508: warning: comparison between signed and unsigned integer expressions -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: wgentry@example.com For additional commands, e-mail: wgentry@example.com From wgentry@example.com Fri Sep 02 09:19:20 2005 Return-Path: <wgentry@example.com> Delivered-To: wgentry@example.com Received: (qmail 29058 invoked from network); 2 Sep 2005 09:19:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Sep 2005 09:19:20 -0000 Received: (qmail 43444 invoked by uid 500); 2 Sep 2005 09:19:18 -0000 Delivered-To: wgentry@example.com Received: (qmail 43418 invoked by uid 500); 2 Sep 2005 09:19:18 -0000 Mailing-List: contact wgentry@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:wgentry@example.com> List-Unsubscribe: <mailto:wgentry@example.com> List-Post: <mailto:wgentry@example.com> List-Id: <c-dev.xerces.apache.org> Reply-To: wgentry@example.com Delivered-To: mailing list wgentry@example.com Received: (qmail 43405 invoked by uid 99); 2 Sep 2005 09:19:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO ajax.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2005 02:19:17 -0700 Received: from ajax.apache.org (ajax.apache.org [83.161.120.155]) by ajax.apache.org (Postfix) with ESMTP id 68C41DF for <wgentry@example.com>; Fri, 2 Sep 2005 11:19:16 +0200 (CEST) Message-ID: <wgentry@example.com> Date: Fri, 2 Sep 2005 11:19:16 +0200 (CEST) From: "Gareth Reakes (JIRA)" <wgentry@example.com> To: wgentry@example.com Subject: [jira] Commented: (XERCESC-1489) Annoying compiler warnings In-Reply-To: <wgentry@example.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XERCESC-1489?page=comments#action_12320863 ] Gareth Reakes commented on XERCESC-1489: ---------------------------------------- Hi David, if you have the time to sort a patch out for this then I will happily review and commit it. Gareth > Annoying compiler warnings > -------------------------- > > Key: XERCESC-1489 > URL: http://issues.apache.org/jira/browse/XERCESC-1489 > Project: Xerces-C++ > Type: Bug > Components: Validating Parser (Schema) (Xerces 1.5 or up only) > Versions: 2.7.0 > Environment: RedHat Linux 7.3, g++ v3.3.3 > Reporter: David Ergo > Priority: Minor > > When compiling a program with #include <xercesc/sax2/XMLReaderFactory.hpp>, like SAX2Count, with warnings enabled (-Wall instead of -w), we get the following compiler warning : > /usr/local/xerces-c/include/xercesc/validators/schema/SchemaElementDecl.hpp: In > member function `virtual bool xercesc_2_888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4SchemaElementDecl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4isGlobalDecl() > const': > /usr/local/xerces-c/include/xercesc/validators/schema/SchemaElementDecl.hpp:508: warning: comparison > between signed and unsigned integer expressions -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: wgentry@example.com For additional commands, e-mail: wgentry@example.com From wgentry@example.com Fri Sep 02 09:20:07 2005 Return-Path: <wgentry@example.com> Delivered-To: wgentry@example.com Received: (qmail 29390 invoked from network); 2 Sep 2005 09:20:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Sep 2005 09:20:07 -0000 Received: (qmail 46918 invoked by uid 500); 2 Sep 2005 09:20:05 -0000 Delivered-To: wgentry@example.com Received: (qmail 46895 invoked by uid 500); 2 Sep 2005 09:20:04 -0000 Mailing-List: contact wgentry@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:wgentry@example.com> List-Unsubscribe: <mailto:wgentry@example.com> List-Post: <mailto:wgentry@example.com> List-Id: <c-dev.xerces.apache.org> Reply-To: wgentry@example.com Delivered-To: mailing list wgentry@example.com Received: (qmail 46882 invoked by uid 99); 2 Sep 2005 09:20:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2005 02:20:04 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO pscgate.progress.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2005 02:20:18 -0700 Received: from ntegp01.bedford.progress.com ([83.161.120.155]) by pscgate.progress.com (8.12.11/8.12.11/PSC-5.11) with ESMTP id j829JwQ3001612 for <wgentry@example.com>; Fri, 2 Sep 2005 05:19:59 -0400 (EDT) Received: from progress.com ([83.161.120.155]) by ntegp01.bedford.progress.com (MailFrontier 83.161.120.15529) with ESMTP; Fri, 02 Sep 2005 05:19:58 -0400 Received: from NTEXFE02.bedford.progress.com (ntexfe02 [83.161.120.155]) by progress.com (8.11.6/8.11.6) with ESMTP id j829JwF15572 for <wgentry@example.com>; Fri, 2 Sep 2005 05:19:58 -0400 (EDT) Received: from AlbertoMassari.datadirect.com ([83.161.120.155]) by NTEXFE02.bedford.progress.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 2 Sep 2005 05:19:51 -0400 Message-Id: <wgentry@example.com> X-Mailer: QUALCOMM Windows Eudora Version 83.161.120.155 Date: Fri, 02 Sep 2005 11:19:29 +0200 To: wgentry@example.com From: Alberto Massari <wgentry@example.com> Subject: Re: WIN64 build on x64 platform using MSVS 2005 Beta In-Reply-To: <OF8D01F549.BD805CD4-ON65257070.00302E18-65257070.003041DB@ blr.hexaware.com> References: <OF42BE7C6C.205E3575-ON65257066.004D5920-65257066.004DA402@LocalDomain> <wgentry@example.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-OriginalArrivalTime: 02 Sep 2005 09:19:53.0891 (UTC) FILETIME=[7A727730:01C5AF9F] X-Mlf-Version: 83.161.120.15529 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Saurabh, the WIN32 message loader stores the error messages as strings in the resource section of the DLL; the INMEM stores them as C arrays in the data section of the code. wgentry@example.com 02/09/2005 +0530, wgentry@example.com wrote: >Hi >Can anyone expalin the difference b/w the WIN32 native messageloader and >INMEM messageloader? > >warm regards > >Saurabh > > > >Saurabh Bhatnagar/BLR/HTL >08/23/2005 07:38 PM > >To >wgentry@example.com >cc >wgentry@example.com, wgentry@example.com, >wgentry@example.com >Subject >Re: WIN64 build on x64 platform using MSVS 2005 Beta > > > > > >Hi > >I found the cause for this error is that there is no implementation for >the constructor "InMemMsgLoader(unsigned short const * const)". > >It will link fine if we provide a do nothing constructir but as I see for >other Message Loaders there will be initialisations required. > >For now, I am using the WIN32 message loader. > >I need to justify it's use instead of the INMEM, can anyone expain the >difference? > >Thanks! > >warm regards > >Saurabh > > > >wgentry@example.com >08/23/2005 07:12 PM >Please respond to >wgentry@example.com > > >To >wgentry@example.com >cc >wgentry@example.com, wgentry@example.com, >wgentry@example.com >Subject >Re: WIN64 build on x64 platform using MSVS 2005 Beta > > > > > > >Hi All > >I have been able to build Xerces 64bit with 136 warnings. > >I removed the /MACHINE:I386 in the additional preprocessor options. I >guess one MACHINE is enough. > >I used WIN32_MESSAGELOADER above. > >As per our requirements we need to use INMEM_MESSAGELOADER. When I specify > >that, I get this error: >1>Linking... >1> Creating library >..\..\..\..\..\Build\Win64\VC8\Release/xerces-c_2.lib and object >..\..\..\..\..\Build\Win64\VC8\Release/xerces-c_2.exp >1>Win32PlatformUtils.obj : error LNK2019: unresolved external symbol >"public: __cdecl xercesc_2_888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4InMemMsgLoader888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4InMemMsgLoader(unsigned >short const * const)" (??0InMemMsgLoader@xercesc_2_6@@QEAA@QEBG@Z) >referenced in function "private: static class xercesc_2_888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4XMLMsgLoader * >__cdecl xercesc_2_888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4XMLPlatformUtils888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4loadAMsgSet(unsigned short const * >const)" >(?loadAMsgSet@XMLPlatformUtils@xercesc_2_6@@CAPEAVXMLMsgLoader@2@QEBG@Z) >1>..\..\..\..\..\Build\Win64\VC8\Release\xerces-c_2_6.dll : fatal error >LNK1120: 1 unresolved externals > >Any clues? Where does that symbol exist? I can't find it in the source. > >warm regards > >Saurabh > > > >Saurabh Bhatnagar/BLR/HTL >08/23/2005 02:14 PM > >To >wgentry@example.com >cc >Akshya Pradhan/BLR/HTL@HTL, wgentry@example.com >Subject >Re: WIN64 build on x64 platform using MSVS 2005 Beta > > > > > >Just to add to the information, here is the Linker command line: > >/OUT:"..\..\..\..\..\Build\Win64\VC8\Release\xerces-c_2_6.dll" >/INCREMENTAL:NO /NOLOGO /LIBPATH:"..\..\..\..\..\Build\Win64\VC8\Release" >/DLL /MANIFEST >/MANIFESTFILE:"x64\Release\xerces-c_2_6.dll.intermediate.manifest" >/PDB:".\..\..\..\..\..\Build\Win64\VC8\Release/xerces-c_2_6.pdb" >/MAP:".\..\..\..\..\..\Build\Win64\VC8\Release\obj/xerces-c_2_6.map" >/SUBSYSTEM:WINDOWS /BASE:"0x12000000" >/IMPLIB:"..\..\..\..\..\Build\Win64\VC8\Release/xerces-c_2.lib" >/MACHINE:AMD64 /ERRORREPORT:PROMPT ws2_32.lib kernel32.lib user32.lib >gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib >oleaut32.lib uuid.lib odbc32.lib odbccp32.lib > >I am using the AMD64 target machine, not x86 as it's found by MSVS!!! > >warm regards > >Saurabh > > > >Saurabh Bhatnagar/BLR/HTL >08/23/2005 12:51 PM > >To >wgentry@example.com >cc >Akshya Pradhan/BLR/HTL@HTL, wgentry@example.com >Subject >WIN64 build on x64 platform using MSVS 2005 Beta > > > > > >I am getting this fatal error LNK1112 > >1>..\..\..\..\..\build\win64\vc8\release\obj\Base64.obj : fatal error >LNK1112: module machine type 'x64' conflicts with target machine type >'X86' > > >My command line in VC++ 8 looks like > >/O1 /Ob2 /I "..\..\..\..\..\src" /D "NDEBUG" /D "PLATFORM_WIN64" /D >"_CRTDBG_MAP_ALLOC" /D "PROJ_XMLPARSER" /D "PROJ_XMLUTIL" /D >"PROJ_PARSERS" /D "PROJ_SAX4C" /D "PROJ_SAX2" /D "PROJ_DOM" /D >"PROJ_VALIDATORS" /D "XML_SINGLEDLL" /D "_WINDOWS" /D >"XML_USE_WIN32_TRANSCODER" /D "XML_USE_INMEM_MESSAGELOADER" /D >"XML_USE_NETACCESSOR_WINSOCK" /D "WIN64" /D "_VC80_UPGRADE=0x0700" /D >"_WINDLL" /GF /FD /EHsc /MD /Zc:wchar_t- >/Fp".\..\..\..\..\..\Build\Win64\VC8\Release\obj/XercesLib.pch" >/Fo".\..\..\..\..\..\Build\Win64\VC8\Release\obj/" >/Fd".\..\..\..\..\..\Build\Win64\VC8\Release\obj/" /W3 /nologo /c /TP >/errorReport:prompt > >The WIN32, what I got from the SLN file has beenn updated with >""XML_USE_WIN32_TRANSCODER" - is there ""XML_USE_WIN64_TRANSCODER"?? >and I have replaced "PLATFORM_WIN32" with "PLATFORM_WIN64" and added >"WIN64". > >Please give me the proper steps to build. > > >warm regards > >Saurabh > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: wgentry@example.com >For additional commands, e-mail: wgentry@example.com > > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: wgentry@example.com >For additional commands, e-mail: wgentry@example.com --------------------------------------------------------------------- To unsubscribe, e-mail: wgentry@example.com For additional commands, e-mail: wgentry@example.com From wgentry@example.com Fri Sep 02 09:40:14 2005 Return-Path: <wgentry@example.com> Delivered-To: wgentry@example.com Received: (qmail 38863 invoked from network); 2 Sep 2005 09:40:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Sep 2005 09:40:14 -0000 Received: (qmail 74248 invoked by uid 500); 2 Sep 2005 09:40:12 -0000 Delivered-To: wgentry@example.com Received: (qmail 74233 invoked by uid 500); 2 Sep 2005 09:40:12 -0000 Mailing-List: contact wgentry@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:wgentry@example.com> List-Unsubscribe: <mailto:wgentry@example.com> List-Post: <mailto:wgentry@example.com> List-Id: <c-dev.xerces.apache.org> Reply-To: wgentry@example.com Delivered-To: mailing list wgentry@example.com Received: (qmail 74219 invoked by uid 99); 2 Sep 2005 09:40:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2005 02:40:11 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO mail.blr.hexaware.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2005 02:40:26 -0700 In-Reply-To: <wgentry@example.com> To: wgentry@example.com Subject: Re: WIN64 build on x64 platform using MSVS 2005 Beta MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5 September 26, 2003 Message-ID: <wgentry@example.com> From: wgentry@example.com Date: Fri, 2 Sep 2005 15:14:24 +0530 X-MIMETrack: Serialize by Router on TAJMAIL1/SRVR/HTL(Release 6.5.1|January 21, 2004) at 09/02/2005 03:14:26 PM, Serialize complete at 09/02/2005 03:14:26 PM Content-Type: text/plain; charset="US-ASCII" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks for the reply. It appears to me that Win32 type will be a bigger sized messageloader? Which one is faster? warm regards Saurabh Alberto Massari <wgentry@example.com> 09/02/2005 02:49 PM Please respond to wgentry@example.com To wgentry@example.com cc Subject Re: WIN64 build on x64 platform using MSVS 2005 Beta Hi Saurabh, the WIN32 message loader stores the error messages as strings in the resource section of the DLL; the INMEM stores them as C arrays in the data section of the code. wgentry@example.com 02/09/2005 +0530, wgentry@example.com wrote: >Hi >Can anyone expalin the difference b/w the WIN32 native messageloader and >INMEM messageloader? > >warm regards > >Saurabh > > > >Saurabh Bhatnagar/BLR/HTL >08/23/2005 07:38 PM > >To >wgentry@example.com >cc >wgentry@example.com, wgentry@example.com, >wgentry@example.com >Subject >Re: WIN64 build on x64 platform using MSVS 2005 Beta > > > > > >Hi > >I found the cause for this error is that there is no implementation for >the constructor "InMemMsgLoader(unsigned short const * const)". > >It will link fine if we provide a do nothing constructir but as I see for >other Message Loaders there will be initialisations required. > >For now, I am using the WIN32 message loader. > >I need to justify it's use instead of the INMEM, can anyone expain the >difference? > >Thanks! > >warm regards > >Saurabh > > > >wgentry@example.com >08/23/2005 07:12 PM >Please respond to >wgentry@example.com > > >To >wgentry@example.com >cc >wgentry@example.com, wgentry@example.com, >wgentry@example.com >Subject >Re: WIN64 build on x64 platform using MSVS 2005 Beta > > > > > > >Hi All > >I have been able to build Xerces 64bit with 136 warnings. > >I removed the /MACHINE:I386 in the additional preprocessor options. I >guess one MACHINE is enough. > >I used WIN32_MESSAGELOADER above. > >As per our requirements we need to use INMEM_MESSAGELOADER. When I specify > >that, I get this error: >1>Linking... >1> Creating library >..\..\..\..\..\Build\Win64\VC8\Release/xerces-c_2.lib and object >..\..\..\..\..\Build\Win64\VC8\Release/xerces-c_2.exp >1>Win32PlatformUtils.obj : error LNK2019: unresolved external symbol >"public: __cdecl xercesc_2_888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4InMemMsgLoader888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4InMemMsgLoader(unsigned >short const * const)" (??0InMemMsgLoader@xercesc_2_6@@QEAA@QEBG@Z) >referenced in function "private: static class xercesc_2_888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4XMLMsgLoader * >__cdecl xercesc_2_888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4XMLPlatformUtils888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4loadAMsgSet(unsigned short const * >const)" >(?loadAMsgSet@XMLPlatformUtils@xercesc_2_6@@CAPEAVXMLMsgLoader@2@QEBG@Z) >1>..\..\..\..\..\Build\Win64\VC8\Release\xerces-c_2_6.dll : fatal error >LNK1120: 1 unresolved externals > >Any clues? Where does that symbol exist? I can't find it in the source. > >warm regards > >Saurabh > > > >Saurabh Bhatnagar/BLR/HTL >08/23/2005 02:14 PM > >To >wgentry@example.com >cc >Akshya Pradhan/BLR/HTL@HTL, wgentry@example.com >Subject >Re: WIN64 build on x64 platform using MSVS 2005 Beta > > > > > >Just to add to the information, here is the Linker command line: > >/OUT:"..\..\..\..\..\Build\Win64\VC8\Release\xerces-c_2_6.dll" >/INCREMENTAL:NO /NOLOGO /LIBPATH:"..\..\..\..\..\Build\Win64\VC8\Release" >/DLL /MANIFEST >/MANIFESTFILE:"x64\Release\xerces-c_2_6.dll.intermediate.manifest" >/PDB:".\..\..\..\..\..\Build\Win64\VC8\Release/xerces-c_2_6.pdb" >/MAP:".\..\..\..\..\..\Build\Win64\VC8\Release\obj/xerces-c_2_6.map" >/SUBSYSTEM:WINDOWS /BASE:"0x12000000" >/IMPLIB:"..\..\..\..\..\Build\Win64\VC8\Release/xerces-c_2.lib" >/MACHINE:AMD64 /ERRORREPORT:PROMPT ws2_32.lib kernel32.lib user32.lib >gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib >oleaut32.lib uuid.lib odbc32.lib odbccp32.lib > >I am using the AMD64 target machine, not x86 as it's found by MSVS!!! > >warm regards > >Saurabh > > > >Saurabh Bhatnagar/BLR/HTL >08/23/2005 12:51 PM > >To >wgentry@example.com >cc >Akshya Pradhan/BLR/HTL@HTL, wgentry@example.com >Subject >WIN64 build on x64 platform using MSVS 2005 Beta > > > > > >I am getting this fatal error LNK1112 > >1>..\..\..\..\..\build\win64\vc8\release\obj\Base64.obj : fatal error >LNK1112: module machine type 'x64' conflicts with target machine type >'X86' > > >My command line in VC++ 8 looks like > >/O1 /Ob2 /I "..\..\..\..\..\src" /D "NDEBUG" /D "PLATFORM_WIN64" /D >"_CRTDBG_MAP_ALLOC" /D "PROJ_XMLPARSER" /D "PROJ_XMLUTIL" /D >"PROJ_PARSERS" /D "PROJ_SAX4C" /D "PROJ_SAX2" /D "PROJ_DOM" /D >"PROJ_VALIDATORS" /D "XML_SINGLEDLL" /D "_WINDOWS" /D >"XML_USE_WIN32_TRANSCODER" /D "XML_USE_INMEM_MESSAGELOADER" /D >"XML_USE_NETACCESSOR_WINSOCK" /D "WIN64" /D "_VC80_UPGRADE=0x0700" /D >"_WINDLL" /GF /FD /EHsc /MD /Zc:wchar_t- >/Fp".\..\..\..\..\..\Build\Win64\VC8\Release\obj/XercesLib.pch" >/Fo".\..\..\..\..\..\Build\Win64\VC8\Release\obj/" >/Fd".\..\..\..\..\..\Build\Win64\VC8\Release\obj/" /W3 /nologo /c /TP >/errorReport:prompt > >The WIN32, what I got from the SLN file has beenn updated with >""XML_USE_WIN32_TRANSCODER" - is there ""XML_USE_WIN64_TRANSCODER"?? >and I have replaced "PLATFORM_WIN32" with "PLATFORM_WIN64" and added >"WIN64". > >Please give me the proper steps to build. > > >warm regards > >Saurabh > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: wgentry@example.com >For additional commands, e-mail: wgentry@example.com > > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: wgentry@example.com >For additional commands, e-mail: wgentry@example.com --------------------------------------------------------------------- To unsubscribe, e-mail: wgentry@example.com For additional commands, e-mail: wgentry@example.com --------------------------------------------------------------------- To unsubscribe, e-mail: wgentry@example.com For additional commands, e-mail: wgentry@example.com From wgentry@example.com Fri Sep 02 10:48:17 2005 Return-Path: <wgentry@example.com> Delivered-To: wgentry@example.com Received: (qmail 66591 invoked from network); 2 Sep 2005 10:48:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Sep 2005 10:48:17 -0000 Received: (qmail 45758 invoked by uid 500); 2 Sep 2005 10:48:16 -0000 Delivered-To: wgentry@example.com Received: (qmail 45723 invoked by uid 500); 2 Sep 2005 10:48:15 -0000 Mailing-List: contact wgentry@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:wgentry@example.com> List-Unsubscribe: <mailto:wgentry@example.com> List-Post: <mailto:wgentry@example.com> List-Id: <c-dev.xerces.apache.org> Reply-To: wgentry@example.com Delivered-To: mailing list wgentry@example.com Received: (qmail 45708 invoked by uid 99); 2 Sep 2005 10:48:14 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO ajax.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2005 03:48:13 -0700 Received: from ajax.apache.org (ajax.apache.org [83.161.120.155]) by ajax.apache.org (Postfix) with ESMTP id 39E56DF for <wgentry@example.com>; Fri, 2 Sep 2005 12:48:12 +0200 (CEST) Message-ID: <wgentry@example.com> Date: Fri, 2 Sep 2005 12:48:12 +0200 (CEST) From: "David Ergo (JIRA)" <wgentry@example.com> To: wgentry@example.com Subject: [jira] Commented: (XERCESC-1489) Annoying compiler warnings In-Reply-To: <wgentry@example.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XERCESC-1489?page=comments#action_12320878 ] David Ergo commented on XERCESC-1489: ------------------------------------- Just change the definitions of UNKNOWN_SCOPE and TOP_LEVEL_SCOPE from UINT_MAX - 0 and UINT_MAX - 1 to INT_MAX - 0 and INT_MAX - 1 in file src/xercesc/validators/common/Grammar.hpp, at lines 69/70 (They were signed integers in v2.6.0) David > Annoying compiler warnings > -------------------------- > > Key: XERCESC-1489 > URL: http://issues.apache.org/jira/browse/XERCESC-1489 > Project: Xerces-C++ > Type: Bug > Components: Validating Parser (Schema) (Xerces 1.5 or up only) > Versions: 2.7.0 > Environment: RedHat Linux 7.3, g++ v3.3.3 > Reporter: David Ergo > Priority: Minor > > When compiling a program with #include <xercesc/sax2/XMLReaderFactory.hpp>, like SAX2Count, with warnings enabled (-Wall instead of -w), we get the following compiler warning : > /usr/local/xerces-c/include/xercesc/validators/schema/SchemaElementDecl.hpp: In > member function `virtual bool xercesc_2_888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4SchemaElementDecl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4isGlobalDecl() > const': > /usr/local/xerces-c/include/xercesc/validators/schema/SchemaElementDecl.hpp:508: warning: comparison > between signed and unsigned integer expressions -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: wgentry@example.com For additional commands, e-mail: wgentry@example.com From wgentry@example.com Fri Sep 02 10:56:13 2005 Return-Path: <wgentry@example.com> Delivered-To: wgentry@example.com Received: (qmail 68869 invoked from network); 2 Sep 2005 10:56:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Sep 2005 10:56:12 -0000 Received: (qmail 54745 invoked by uid 500); 2 Sep 2005 10:56:10 -0000 Delivered-To: wgentry@example.com Received: (qmail 54725 invoked by uid 500); 2 Sep 2005 10:56:10 -0000 Mailing-List: contact wgentry@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:wgentry@example.com> List-Unsubscribe: <mailto:wgentry@example.com> List-Post: <mailto:wgentry@example.com> List-Id: <c-dev.xerces.apache.org> Reply-To: wgentry@example.com Delivered-To: mailing list wgentry@example.com Received: (qmail 54712 invoked by uid 99); 2 Sep 2005 10:56:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2005 03:56:10 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO pscgate.progress.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2005 03:56:25 -0700 Received: from ntegp01.bedford.progress.com ([83.161.120.155]) by pscgate.progress.com (8.12.11/8.12.11/PSC-5.11) with ESMTP id j82Au43q022177 for <wgentry@example.com>; Fri, 2 Sep 2005 06:56:05 -0400 (EDT) Received: from progress.com ([83.161.120.155]) by ntegp01.bedford.progress.com (MailFrontier 83.161.120.15529) with ESMTP; Fri, 02 Sep 2005 06:56:05 -0400 Received: from NTEXFE02.bedford.progress.com (ntexfe02 [83.161.120.155]) by progress.com (8.11.6/8.11.6) with ESMTP id j82Au4F09114 for <wgentry@example.com>; Fri, 2 Sep 2005 06:56:04 -0400 (EDT) Received: from AlbertoMassari.datadirect.com ([83.161.120.155]) by NTEXFE02.bedford.progress.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 2 Sep 2005 06:55:58 -0400 Message-Id: <wgentry@example.com> X-Mailer: QUALCOMM Windows Eudora Version 83.161.120.155 Date: Fri, 02 Sep 2005 12:55:45 +0200 To: wgentry@example.com From: Alberto Massari <wgentry@example.com> Subject: Re: WIN64 build on x64 platform using MSVS 2005 Beta In-Reply-To: <OFCB6F1E20.122DE5F7-ON65257070.00356CDF-65257070.003580D3@ blr.hexaware.com> References: <wgentry@example.com> <wgentry@example.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-OriginalArrivalTime: 02 Sep 2005 10:55:59.0901 (UTC) FILETIME=[E741C4D0:01C5AFAC] X-Mlf-Version: 83.161.120.15529 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 wgentry@example.com 02/09/2005 +0530, wgentry@example.com wrote: >Thanks for the reply. > >It appears to me that Win32 type will be a bigger sized messageloader? >Which one is faster? I don't know: I guess the faster and smaller is the INMEM, but you should test it if you care about this difference. Alberto >warm regards > >Saurabh > > > >Alberto Massari <wgentry@example.com> >09/02/2005 02:49 PM >Please respond to >wgentry@example.com > > >To >wgentry@example.com >cc > >Subject >Re: WIN64 build on x64 platform using MSVS 2005 Beta > > > > > > >Hi Saurabh, >the WIN32 message loader stores the error messages as strings in the >resource section of the DLL; the INMEM stores them as C arrays in the >data section of the code. > >Alberto > >At 14.17 02/09/2005 +0530, wgentry@example.com wrote: > >Hi > >Can anyone expalin the difference b/w the WIN32 native messageloader and > >INMEM messageloader? > > > >warm regards > > > >Saurabh > > > > > > > >Saurabh Bhatnagar/BLR/HTL > >08/23/2005 07:38 PM > > > >To > >wgentry@example.com > >cc > >wgentry@example.com, wgentry@example.com, > >wgentry@example.com > >Subject > >Re: WIN64 build on x64 platform using MSVS 2005 Beta > > > > > > > > > > > >Hi > > > >I found the cause for this error is that there is no implementation for > >the constructor "InMemMsgLoader(unsigned short const * const)". > > > >It will link fine if we provide a do nothing constructir but as I see for > >other Message Loaders there will be initialisations required. > > > >For now, I am using the WIN32 message loader. > > > >I need to justify it's use instead of the INMEM, can anyone expain the > >difference? > > > >Thanks! > > > >warm regards > > > >Saurabh > > > > > > > >wgentry@example.com > >08/23/2005 07:12 PM > >Please respond to > >wgentry@example.com > > > > > >To > >wgentry@example.com > >cc > >wgentry@example.com, wgentry@example.com, > >wgentry@example.com > >Subject > >Re: WIN64 build on x64 platform using MSVS 2005 Beta > > > > > > > > > > > > > >Hi All > > > >I have been able to build Xerces 64bit with 136 warnings. > > > >I removed the /MACHINE:I386 in the additional preprocessor options. I > >guess one MACHINE is enough. > > > >I used WIN32_MESSAGELOADER above. > > > >As per our requirements we need to use INMEM_MESSAGELOADER. When I >specify > > > >that, I get this error: > >1>Linking... > >1> Creating library > >..\..\..\..\..\Build\Win64\VC8\Release/xerces-c_2.lib and object > >..\..\..\..\..\Build\Win64\VC8\Release/xerces-c_2.exp > >1>Win32PlatformUtils.obj : error LNK2019: unresolved external symbol > >"public: __cdecl xercesc_2_888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4InMemMsgLoader888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4InMemMsgLoader(unsigned > >short const * const)" (??0InMemMsgLoader@xercesc_2_6@@QEAA@QEBG@Z) > >referenced in function "private: static class xercesc_2_888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4XMLMsgLoader * > >__cdecl xercesc_2_888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4XMLPlatformUtils888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4loadAMsgSet(unsigned short const * > >const)" > >(?loadAMsgSet@XMLPlatformUtils@xercesc_2_6@@CAPEAVXMLMsgLoader@2@QEBG@Z) > >1>..\..\..\..\..\Build\Win64\VC8\Release\xerces-c_2_6.dll : fatal error > >LNK1120: 1 unresolved externals > > > >Any clues? Where does that symbol exist? I can't find it in the source. > > > >warm regards > > > >Saurabh > > > > > > > >Saurabh Bhatnagar/BLR/HTL > >08/23/2005 02:14 PM > > > >To > >wgentry@example.com > >cc > >Akshya Pradhan/BLR/HTL@HTL, wgentry@example.com > >Subject > >Re: WIN64 build on x64 platform using MSVS 2005 Beta > > > > > > > > > > > >Just to add to the information, here is the Linker command line: > > > >/OUT:"..\..\..\..\..\Build\Win64\VC8\Release\xerces-c_2_6.dll" > >/INCREMENTAL:NO /NOLOGO /LIBPATH:"..\..\..\..\..\Build\Win64\VC8\Release" > >/DLL /MANIFEST > >/MANIFESTFILE:"x64\Release\xerces-c_2_6.dll.intermediate.manifest" > >/PDB:".\..\..\..\..\..\Build\Win64\VC8\Release/xerces-c_2_6.pdb" > >/MAP:".\..\..\..\..\..\Build\Win64\VC8\Release\obj/xerces-c_2_6.map" > >/SUBSYSTEM:WINDOWS /BASE:"0x12000000" > >/IMPLIB:"..\..\..\..\..\Build\Win64\VC8\Release/xerces-c_2.lib" > >/MACHINE:AMD64 /ERRORREPORT:PROMPT ws2_32.lib kernel32.lib user32.lib > >gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib > >oleaut32.lib uuid.lib odbc32.lib odbccp32.lib > > > >I am using the AMD64 target machine, not x86 as it's found by MSVS!!! > > > >warm regards > > > >Saurabh > > > > > > > >Saurabh Bhatnagar/BLR/HTL > >08/23/2005 12:51 PM > > > >To > >wgentry@example.com > >cc > >Akshya Pradhan/BLR/HTL@HTL, wgentry@example.com > >Subject > >WIN64 build on x64 platform using MSVS 2005 Beta > > > > > > > > > > > >I am getting this fatal error LNK1112 > > > >1>..\..\..\..\..\build\win64\vc8\release\obj\Base64.obj : fatal error > >LNK1112: module machine type 'x64' conflicts with target machine type > >'X86' > > > > > >My command line in VC++ 8 looks like > > > >/O1 /Ob2 /I "..\..\..\..\..\src" /D "NDEBUG" /D "PLATFORM_WIN64" /D > >"_CRTDBG_MAP_ALLOC" /D "PROJ_XMLPARSER" /D "PROJ_XMLUTIL" /D > >"PROJ_PARSERS" /D "PROJ_SAX4C" /D "PROJ_SAX2" /D "PROJ_DOM" /D > >"PROJ_VALIDATORS" /D "XML_SINGLEDLL" /D "_WINDOWS" /D > >"XML_USE_WIN32_TRANSCODER" /D "XML_USE_INMEM_MESSAGELOADER" /D > >"XML_USE_NETACCESSOR_WINSOCK" /D "WIN64" /D "_VC80_UPGRADE=0x0700" /D > >"_WINDLL" /GF /FD /EHsc /MD /Zc:wchar_t- > >/Fp".\..\..\..\..\..\Build\Win64\VC8\Release\obj/XercesLib.pch" > >/Fo".\..\..\..\..\..\Build\Win64\VC8\Release\obj/" > >/Fd".\..\..\..\..\..\Build\Win64\VC8\Release\obj/" /W3 /nologo /c /TP > >/errorReport:prompt > > > >The WIN32, what I got from the SLN file has beenn updated with > >""XML_USE_WIN32_TRANSCODER" - is there ""XML_USE_WIN64_TRANSCODER"?? > >and I have replaced "PLATFORM_WIN32" with "PLATFORM_WIN64" and added > >"WIN64". > > > >Please give me the proper steps to build. > > > > > >warm regards > > > >Saurabh > > > > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: wgentry@example.com > >For additional commands, e-mail: wgentry@example.com > > > > > > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: wgentry@example.com > >For additional commands, e-mail: wgentry@example.com > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: wgentry@example.com >For additional commands, e-mail: wgentry@example.com > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: wgentry@example.com >For additional commands, e-mail: wgentry@example.com --------------------------------------------------------------------- To unsubscribe, e-mail: wgentry@example.com For additional commands, e-mail: wgentry@example.com From wgentry@example.com Fri Sep 02 10:58:19 2005 Return-Path: <wgentry@example.com> Delivered-To: wgentry@example.com Received: (qmail 69304 invoked from network); 2 Sep 2005 10:58:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Sep 2005 10:58:19 -0000 Received: (qmail 60452 invoked by uid 500); 2 Sep 2005 10:58:17 -0000 Delivered-To: wgentry@example.com Received: (qmail 60430 invoked by uid 500); 2 Sep 2005 10:58:17 -0000 Mailing-List: contact wgentry@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:wgentry@example.com> List-Unsubscribe: <mailto:wgentry@example.com> List-Post: <mailto:wgentry@example.com> List-Id: <c-dev.xerces.apache.org> Reply-To: wgentry@example.com Delivered-To: mailing list wgentry@example.com Received: (qmail 60417 invoked by uid 99); 2 Sep 2005 10:58:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2005 03:58:17 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO mail.blr.hexaware.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2005 03:58:32 -0700 In-Reply-To: <wgentry@example.com> To: wgentry@example.com Subject: Re: WIN64 build on x64 platform using MSVS 2005 Beta MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5 September 26, 2003 Message-ID: <wgentry@example.com> From: wgentry@example.com Date: Fri, 2 Sep 2005 16:32:28 +0530 X-MIMETrack: Serialize by Router on TAJMAIL1/SRVR/HTL(Release 6.5.1|January 21, 2004) at 09/02/2005 04:32:32 PM, Serialize complete at 09/02/2005 04:32:32 PM Content-Type: text/plain; charset="US-ASCII" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks! warm regards Saurabh Alberto Massari <wgentry@example.com> 09/02/2005 04:25 PM Please respond to wgentry@example.com To wgentry@example.com cc Subject Re: WIN64 build on x64 platform using MSVS 2005 wgentry@example.com 02/09/2005 +0530, wgentry@example.com wrote: >Thanks for the reply. > >It appears to me that Win32 type will be a bigger sized messageloader? >Which one is faster? I don't know: I guess the faster and smaller is the INMEM, but you should test it if you care about this difference. Alberto >warm regards > >Saurabh > > > >Alberto Massari <wgentry@example.com> >09/02/2005 02:49 PM >Please respond to >wgentry@example.com > > >To >wgentry@example.com >cc > >Subject >Re: WIN64 build on x64 platform using MSVS 2005 Beta > > > > > > >Hi Saurabh, >the WIN32 message loader stores the error messages as strings in the >resource section of the DLL; the INMEM stores them as C arrays in the >data section of the code. > >Alberto > >At 14.17 02/09/2005 +0530, wgentry@example.com wrote: > >Hi > >Can anyone expalin the difference b/w the WIN32 native messageloader and > >INMEM messageloader? > > > >warm regards > > > >Saurabh > > > > > > > >Saurabh Bhatnagar/BLR/HTL > >08/23/2005 07:38 PM > > > >To > >wgentry@example.com > >cc > >wgentry@example.com, wgentry@example.com, > >wgentry@example.com > >Subject > >Re: WIN64 build on x64 platform using MSVS 2005 Beta > > > > > > > > > > > >Hi > > > >I found the cause for this error is that there is no implementation for > >the constructor "InMemMsgLoader(unsigned short const * const)". > > > >It will link fine if we provide a do nothing constructir but as I see for > >other Message Loaders there will be initialisations required. > > > >For now, I am using the WIN32 message loader. > > > >I need to justify it's use instead of the INMEM, can anyone expain the > >difference? > > > >Thanks! > > > >warm regards > > > >Saurabh > > > > > > > >wgentry@example.com > >08/23/2005 07:12 PM > >Please respond to > >wgentry@example.com > > > > > >To > >wgentry@example.com > >cc > >wgentry@example.com, wgentry@example.com, > >wgentry@example.com > >Subject > >Re: WIN64 build on x64 platform using MSVS 2005 Beta > > > > > > > > > > > > > >Hi All > > > >I have been able to build Xerces 64bit with 136 warnings. > > > >I removed the /MACHINE:I386 in the additional preprocessor options. I > >guess one MACHINE is enough. > > > >I used WIN32_MESSAGELOADER above. > > > >As per our requirements we need to use INMEM_MESSAGELOADER. When I >specify > > > >that, I get this error: > >1>Linking... > >1> Creating library > >..\..\..\..\..\Build\Win64\VC8\Release/xerces-c_2.lib and object > >..\..\..\..\..\Build\Win64\VC8\Release/xerces-c_2.exp > >1>Win32PlatformUtils.obj : error LNK2019: unresolved external symbol > >"public: __cdecl xercesc_2_888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4InMemMsgLoader888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4InMemMsgLoader(unsigned > >short const * const)" (??0InMemMsgLoader@xercesc_2_6@@QEAA@QEBG@Z) > >referenced in function "private: static class xercesc_2_888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4XMLMsgLoader * > >__cdecl xercesc_2_888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4XMLPlatformUtils888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4loadAMsgSet(unsigned short const * > >const)" > >(?loadAMsgSet@XMLPlatformUtils@xercesc_2_6@@CAPEAVXMLMsgLoader@2@QEBG@Z) > >1>..\..\..\..\..\Build\Win64\VC8\Release\xerces-c_2_6.dll : fatal error > >LNK1120: 1 unresolved externals > > > >Any clues? Where does that symbol exist? I can't find it in the source. > > > >warm regards > > > >Saurabh > > > > > > > >Saurabh Bhatnagar/BLR/HTL > >08/23/2005 02:14 PM > > > >To > >wgentry@example.com > >cc > >Akshya Pradhan/BLR/HTL@HTL, wgentry@example.com > >Subject > >Re: WIN64 build on x64 platform using MSVS 2005 Beta > > > > > > > > > > > >Just to add to the information, here is the Linker command line: > > > >/OUT:"..\..\..\..\..\Build\Win64\VC8\Release\xerces-c_2_6.dll" > >/INCREMENTAL:NO /NOLOGO /LIBPATH:"..\..\..\..\..\Build\Win64\VC8\Release" > >/DLL /MANIFEST > >/MANIFESTFILE:"x64\Release\xerces-c_2_6.dll.intermediate.manifest" > >/PDB:".\..\..\..\..\..\Build\Win64\VC8\Release/xerces-c_2_6.pdb" > >/MAP:".\..\..\..\..\..\Build\Win64\VC8\Release\obj/xerces-c_2_6.map" > >/SUBSYSTEM:WINDOWS /BASE:"0x12000000" > >/IMPLIB:"..\..\..\..\..\Build\Win64\VC8\Release/xerces-c_2.lib" > >/MACHINE:AMD64 /ERRORREPORT:PROMPT ws2_32.lib kernel32.lib user32.lib > >gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib > >oleaut32.lib uuid.lib odbc32.lib odbccp32.lib > > > >I am using the AMD64 target machine, not x86 as it's found by MSVS!!! > > > >warm regards > > > >Saurabh > > > > > > > >Saurabh Bhatnagar/BLR/HTL > >08/23/2005 12:51 PM > > > >To > >wgentry@example.com > >cc > >Akshya Pradhan/BLR/HTL@HTL, wgentry@example.com > >Subject > >WIN64 build on x64 platform using MSVS 2005 Beta > > > > > > > > > > > >I am getting this fatal error LNK1112 > > > >1>..\..\..\..\..\build\win64\vc8\release\obj\Base64.obj : fatal error > >LNK1112: module machine type 'x64' conflicts with target machine type > >'X86' > > > > > >My command line in VC++ 8 looks like > > > >/O1 /Ob2 /I "..\..\..\..\..\src" /D "NDEBUG" /D "PLATFORM_WIN64" /D > >"_CRTDBG_MAP_ALLOC" /D "PROJ_XMLPARSER" /D "PROJ_XMLUTIL" /D > >"PROJ_PARSERS" /D "PROJ_SAX4C" /D "PROJ_SAX2" /D "PROJ_DOM" /D > >"PROJ_VALIDATORS" /D "XML_SINGLEDLL" /D "_WINDOWS" /D > >"XML_USE_WIN32_TRANSCODER" /D "XML_USE_INMEM_MESSAGELOADER" /D > >"XML_USE_NETACCESSOR_WINSOCK" /D "WIN64" /D "_VC80_UPGRADE=0x0700" /D > >"_WINDLL" /GF /FD /EHsc /MD /Zc:wchar_t- > >/Fp".\..\..\..\..\..\Build\Win64\VC8\Release\obj/XercesLib.pch" > >/Fo".\..\..\..\..\..\Build\Win64\VC8\Release\obj/" > >/Fd".\..\..\..\..\..\Build\Win64\VC8\Release\obj/" /W3 /nologo /c /TP > >/errorReport:prompt > > > >The WIN32, what I got from the SLN file has beenn updated with > >""XML_USE_WIN32_TRANSCODER" - is there ""XML_USE_WIN64_TRANSCODER"?? > >and I have replaced "PLATFORM_WIN32" with "PLATFORM_WIN64" and added > >"WIN64". > > > >Please give me the proper steps to build. > > > > > >warm regards > > > >Saurabh > > > > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: wgentry@example.com > >For additional commands, e-mail: wgentry@example.com > > > > > > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: wgentry@example.com > >For additional commands, e-mail: wgentry@example.com > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: wgentry@example.com >For additional commands, e-mail: wgentry@example.com > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: wgentry@example.com >For additional commands, e-mail: wgentry@example.com --------------------------------------------------------------------- To unsubscribe, e-mail: wgentry@example.com For additional commands, e-mail: wgentry@example.com --------------------------------------------------------------------- To unsubscribe, e-mail: wgentry@example.com For additional commands, e-mail: wgentry@example.com From wgentry@example.com Fri Sep 02 15:15:20 2005 Return-Path: <wgentry@example.com> Delivered-To: wgentry@example.com Received: (qmail 71214 invoked from network); 2 Sep 2005 15:15:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Sep 2005 15:15:20 -0000 Received: (qmail 18320 invoked by uid 500); 2 Sep 2005 15:15:18 -0000 Delivered-To: wgentry@example.com Received: (qmail 18273 invoked by uid 500); 2 Sep 2005 15:15:17 -0000 Mailing-List: contact wgentry@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:wgentry@example.com> List-Unsubscribe: <mailto:wgentry@example.com> List-Post: <mailto:wgentry@example.com> List-Id: <c-dev.xerces.apache.org> Reply-To: wgentry@example.com Delivered-To: mailing list wgentry@example.com Received: (qmail 18258 invoked by uid 99); 2 Sep 2005 15:15:16 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO ajax.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2005 08:15:15 -0700 Received: from ajax.apache.org (ajax.apache.org
{'source': 'Apache Software Foundation Public Mail Archives'}