Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 79145 invoked from network); 7 Oct 2003 04:44:09 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 7 Oct 2003 04:44:09 -0000 Received: (qmail 13251 invoked by uid 500); 7 Oct 2003 04:43:42 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 13220 invoked by uid 500); 7 Oct 2003 04:43:42 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 13201 invoked from network); 7 Oct 2003 04:43:41 -0000 Message-ID: <008801c26dbc$206d7a00$a465080a@msdf> From: "Jeyakumaran.C" To: , References: <20031006104209.20078.qmail@web12808.mail.yahoo.com> Subject: Re: Replace SchemaUtils/DOM with JaxMe's Schema Parser? Date: Mon, 7 Oct 2002 10:43:47 +0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Dims and all, We went through your mail. We want some clarifications on it. 1)Do we need to take the DOM node and use DOM2SAX for generating events? 2) Then if it is the case, where should we do that? Do it while in the parsing at the SymbolTable or inside the SchemaUtls? What we prefer is, keep the SymbotTable as it is and change it inside the SchemaUtils, though it is a temporary solution.(Hope JAXMe people will come up with a solution with accepting the DOM node). So the changes only will be inside the SchemaUtils.............. Is this approach ok for doing it? Kindly need your suggestions to move on. Regards, Jeyakumaran ----- Original Message ----- From: "Davanum Srinivas" To: ; Sent: Monday, October 06, 2003 4:42 PM Subject: Re: Replace SchemaUtils/DOM with JaxMe's Schema Parser? > Srinath, > > The idea is to run the parser just ONCE!!! when we hit a schema in addTypes (of SymbolTable.java) > and then use information in the SchemaUtils methods. Go ahead with the DOM 2 SAX > (http://javaalmanac.com/egs/javax.xml.transform.sax/Dom2Sax.html) for now, we might have to change > it later. Yes, you will need xalan jars to get it working. We can influence JaxMe folks later to > accept a dom node. > > thanks, > dims > > --- Srinath Perera wrote: > > Hi All, > > > > here is the high level picture of what we are planning to do to fix it. > > > > We want to keep method signatures of SchemaUtils as they are and replace > > the logic with jaxme parser. > > > > Q1) is that ok. We do not change the functionality. > > > > Here we want jaxme (it works on SAX) to parse a DOM node ?? > > We are planning to take a node and serialize it to buffer (add schema > > tag's to start and end may be ..) then fed it to jaxme ..... > > > > We are using a longer way ... IS IT OK TO USE IT, this may not be the > > smartest. > > Any other suggestions ...... to fed node into the Jaxme. > > > > we are expecting a answer to move on ... > > > > Srinath > > > > > > > > On Tue, 2003-09-30 at 18:52, Srinath Perera wrote: > > > Hi All > > > > > > I think we can start with it ... > > > > > > I think this is what I understood > > > > > > 1) we should get into code that parse DOM nodes in SchemaUtils.java and > > > use schema parser to parse them cleanly. > > > 2) we can left the code that get the DOM nodes from the wsdl untouched. > > > >> You replace all dom traversal stuff > > > Only the parsing of DOM nodes we should worry about. > > > 3) leave JaxMe untouched as much as possible > > > > > > > > > we would start it by abut a week. will come back if help needed. > > > > > > thanks for directions > > > > > > Srianth > > > > > > > > > > > > On Tue, 2003-09-30 at 17:52, Davanum Srinivas wrote: > > > > Here's a plan for you all: > > > > - Get the latest CVS code for axis > > > > #1: make a copy/zip it up so that you know what you started with > > > > #2: run "ant clean all-tests" to make sure that nothing is broken > > > > - Get the latest CVS code for JaxMe > > > > - Iteratively make changes to axis's code (and if necessary JaxMe's code) such that: > > > > #1: You replace all dom traversal stuff in symbolTable\SchemaUtils.java and other files. > > > > #2: If you run "ant clean all-tests", it should NOT fail > > > > #3: If you compare the results of running "ant clean all-tests" between the original code > > and > > > > your modified code (do a windiff on build/work directory where all the generated code is > > present) > > > > they should be EXACTLY the same. > > > > - When you are ready, we can create a CVS branch to let everyone review your work before it > > gets > > > > merged into the HEAD branch > > > > - If you need changes to JaxMe stuff, you will need to submit bugzilla patches as usual, i > > will > > > > work with them to merge the changes needed into their source tree. > > > > > > > > How does this sound? Do you have enough to get going? > > > > > > > > Thanks, > > > > dims > > > > > > > > --- Srinath Perera wrote: > > > > > Hi All > > > > > > > > > > we would like to give it a try. Knows it was bit of a challenge. > > > > > Plus we have not work with JaxMe's schema parser. Yet will do our best. > > > > > > > > > > How should we do it .. keeping our copy and work on it till we have > > > > > something or have it somewhere in CVS so others can have look and help > > > > > :). (quite sure help is necessary) > > > > > > > > > > If all goes well we could start work on it about a week by now. > > > > > > > > > > regards > > > > > > > > > > Srianth,Dimuthu,VTPavan,jkumaran > > > > > > > > > > > > > > > On Thu, 2003-09-25 at 21:50, Davanum Srinivas wrote: > > > > > > Given the # of bugs we have related to Schema's. Does anyone have cycles to replace what > > we > > > > > have > > > > > > with JaxMe's Schema Parser? (http://ws.apache.org/jaxme/xs/index.html). This would > > involve > > > > > fixing > > > > > > both our code as well as JaxMe code (if necessary). The first objective would be to > > remove all > > > > > our > > > > > > dependency on DOM parsing/walking (see > > org\apache\axis\wsdl\symbolTable\SchemaUtils.java). > > > > > This > > > > > > work could be done in a separate branch till code is stable enough so that our "ant > > clean > > > > > > all-tests" works ok. > > > > > > > > > > > > Anyone up for it? > > > > > > > > > > > > Thanks, > > > > > > dims > > > > > > > > > > > > ===== > > > > > > Davanum Srinivas - http://webservices.apache.org/~dims/ > > > > > > > > > > > > > > > > > > > > > > > ===== > > > > Davanum Srinivas - http://webservices.apache.org/~dims/ > > > > > > > > > > > > ===== > Davanum Srinivas - http://webservices.apache.org/~dims/ >