Return-Path: X-Original-To: apmail-xerces-c-users-archive@www.apache.org Delivered-To: apmail-xerces-c-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 124097ED1 for ; Mon, 26 Sep 2011 05:50:23 +0000 (UTC) Received: (qmail 37410 invoked by uid 500); 26 Sep 2011 05:50:22 -0000 Delivered-To: apmail-xerces-c-users-archive@xerces.apache.org Received: (qmail 37332 invoked by uid 500); 26 Sep 2011 05:50:22 -0000 Mailing-List: contact c-users-help@xerces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: c-users@xerces.apache.org Delivered-To: mailing list c-users@xerces.apache.org Received: (qmail 37321 invoked by uid 99); 26 Sep 2011 05:50:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2011 05:50:21 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=DC_IMAGE_SPAM_HTML,DC_IMAGE_SPAM_TEXT,HTML_IMAGE_ONLY_16,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [205.167.7.38] (HELO mailX02.eud.schneider-electric.com) (205.167.7.38) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2011 05:50:13 +0000 Received: from ateui02.Schneider-Electric.com ([10.198.14.10]) by mailX02.eud.schneider-electric.com with ESMTP id 2011092607314212-137534 ; Mon, 26 Sep 2011 07:31:42 +0200 In-Reply-To: <4E7C2486.1070808@progress.com> To: c-users@xerces.apache.org Subject: Re: Issues in Xerces C parser version 2.7 MIME-Version: 1.0 Sensitivity: X-Priority: 3 (Normal) X-Mailer: Lotus Notes Release 6.5.6 March 06, 2007 From: neetha.patil@schneider-electric.com Message-ID: Date: Mon, 26 Sep 2011 11:19:42 +0530 X-MIMETrack: Serialize by Router on ATEUI02.Schneider-Electric.com/T/SVR/Schneider at 26/09/2011 07:49:51, Serialize complete at 26/09/2011 07:49:51, Itemize by SMTP Server on AXEU2OUT.schneider-electric.com/X/SVR/SEIxtra at 26/09/2011 07:31:42, Serialize by Router on AXEU2OUT.schneider-electric.com/X/SVR/SEIxtra at 26/09/2011 07:32:03, Serialize complete at 26/09/2011 07:32:03 Content-Type: multipart/related; boundary="=_related 0020042D65257917_=" X-Virus-Checked: Checked by ClamAV on apache.org --=_related 0020042D65257917_= Content-Type: multipart/alternative; boundary="=_alternative 0020042D65257917_=" --=_alternative 0020042D65257917_= Content-Type: text/plain; charset="US-ASCII" Hello!! Firstly, thank you for the reply. Please find below the snapshots of the schema for the two errors. (1)The error related to patterns: Value 'LLN0' does not match regular expression facet 'L[A-Z]*|LLN0' (2) The error related to 'restriction' tag: The type 'tP_Port' is a simple type. It cannot be used in a derivation by RESTRICTION for a complexType I replaced Xerces C 2.7 with Xerces C 2.8 with absolutely no code change in my tool and saw that the first error (related to patterns) is no more thrown but the second error (w.r.t 'restriction') still exists. So I tried with Xerces C 3.1.1(latest version) instead of Xerces C 2.8 and found the following issues. (1) Classes like DOMBuilder, DOMWriter do not exist in xercesc_3_1_1 (2) 'createDOMWriter' : is not a member of 'xercesc_3_1::DOMImplementationLS' (3) 'getErrorNode' : is not a member of 'xercesc_3_1::DOMLocator' Regards, Neetha --=_alternative 0020042D65257917_= Content-Type: text/html; charset="US-ASCII"
Hello!!

Firstly, thank you for the reply.

Please find below the snapshots of the schema for the two errors.
(1)The error related to patterns: Value 'LLN0' does not match regular expression facet 'L[A-Z]*|LLN0'


(2) The error related to 'restriction' tag: The type 'tP_Port' is a simple type. It cannot be used in a derivation by RESTRICTION for a complexType


I replaced Xerces C 2.7 with Xerces C 2.8 with absolutely no code change in my tool and saw that the first error (related to patterns) is no more thrown but the second error (w.r.t 'restriction') still exists.

So I tried with Xerces C 3.1.1(latest version) instead of Xerces C 2.8 and found the following issues.
(1) Classes like DOMBuilder, DOMWriter do not exist in xercesc_3_1_1
(2) 'createDOMWriter' : is not a member of 'xercesc_3_1::DOMImplementationLS'
(3) 'getErrorNode' : is not a member of 'xercesc_3_1::DOMLocator'

Regards,
Neetha --=_alternative 0020042D65257917_=-- --=_related 0020042D65257917_=--