Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 59369 invoked from network); 3 Dec 2004 08:09:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Dec 2004 08:09:15 -0000 Received: (qmail 48511 invoked by uid 500); 3 Dec 2004 08:09:06 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 48359 invoked by uid 500); 3 Dec 2004 08:09:05 -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 48341 invoked by uid 99); 3 Dec 2004 08:09:05 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from whale.cs.indiana.edu (HELO whale.cs.indiana.edu) (129.79.246.27) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 03 Dec 2004 00:09:03 -0800 Received: from [127.0.0.1] (whale.cs.indiana.edu [129.79.246.27]) by whale.cs.indiana.edu (8.12.11/8.12.11/IUCS_2.63) with ESMTP id iB388xCp015943; Fri, 3 Dec 2004 03:08:59 -0500 (EST) Message-ID: <41B01F19.50707@cs.indiana.edu> Date: Fri, 03 Dec 2004 03:08:57 -0500 From: Aleksander Slominski User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: axis-dev@ws.apache.org Subject: Re: [Axis2] Re: Full infoset support References: <200412030732.iB37Vr4C005479@relay3.slt.lk> In-Reply-To: <200412030732.iB37Vr4C005479@relay3.slt.lk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Eran Chinthaka wrote: >>>for me it is: AXIOM API must support XML Infoset and allow an API >>>implementation that implements all XML infoset if it finds it necessary >>>but default OM implementation is optimized for SOAP. >>> >>>i think Web Services are more than just SOAP and precluding use of >>>XML/HTTP would be an error (especially that it is so easy to support). >>> >>>the only parts of XML Infoset that we may not want to support are those >>>not required by SOAP (mostly related to PIs and DTDs as they are >>>prohibited in SOAP 1.2 message for details see >>>http://www.w3.org/TR/soap12-part1/#soapenv - anything more excluded? and >>>comments are allowed just not inside message but in document ...) >>> >>>so think it can be simply done by having DTD related properties >>>empty/default/null (such as those in >>>http://www.w3.org/TR/xml-infoset/#infoitem.document) and AXIOM impl to >>>throw exception if it sees DTD (configurable to do so as required for >>>SOAP 1.2 ...) >>> >>> > >[Chinthaka] can u all remember the basic concepts we agreed on the summit. >One is YAGNI and one other is KISS. So if we just create some support for >DTD and PI and just throw an exception, isn't it YAGNI or violating KISS >??????? > > i regard XML infoset API as _fundamental_ (so it is YAGNI) and not something that can be simplified, omitted, or further KISSed. this is different from actual OM impls that may chose to not support something in XML Infoset and throw exception (like in case of SOAP) therefore i do not think we differ much - i think XML Infoset API such as AXIOM should be reflecting XML Infoset element information items and properties but implementations can be optimized for subset of XML Infoset (such as SOAP 1.2 or 1.1). however i do not see any considerable gains by fusing SOAP and XML Infoset APIs together but it will make things bigger and more complicated ... alek -- The best way to predict the future is to invent it - Alan Kay