Return-Path: X-Original-To: apmail-maven-dev-archive@www.apache.org Delivered-To: apmail-maven-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 38294EE10 for ; Sun, 13 Jan 2013 19:09:53 +0000 (UTC) Received: (qmail 18705 invoked by uid 500); 13 Jan 2013 19:09:52 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 18624 invoked by uid 500); 13 Jan 2013 19:09:52 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 18615 invoked by uid 99); 13 Jan 2013 19:09:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jan 2013 19:09:52 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.223.171] (HELO mail-ie0-f171.google.com) (209.85.223.171) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jan 2013 19:09:46 +0000 Received: by mail-ie0-f171.google.com with SMTP id 17so4255936iea.30 for ; Sun, 13 Jan 2013 11:09:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=a4QMuC1G6UrOcfw2+8Zi6zO3MW+YvtoUsYmLGA9NXF0=; b=O+XucCFlW5qKmvo/BLzLD4s3rWuyPJrojpHEIb4CWyDk42zId+7LTuGU8avyemlC4O pO0dvRkpCloymer9vungDVg/06NPnNQdwgaCcTlWL1ZajezfTCweXw9XhFeI9UHpw5gt bhe5r18f0P+H1AuYgdhGdpwjVAG0BUFc51LN7t9ifQFmis3BfXBgctFchy+AETRSygtJ 1Co5ZeNcRvpEzbaKNaUMmu2J8icDLiGb2Y7ABcx/XnO7meBhECgaUP4YlWuzWxjWL/j5 Cn2iO0ln7lLmUBsoZ7NeEZMkLLWVcKvJMC2wZrLWSQa/f+Ug5RIXh73NBrVVXnuWHuLo nTKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:x-gm-message-state; bh=a4QMuC1G6UrOcfw2+8Zi6zO3MW+YvtoUsYmLGA9NXF0=; b=k9TW7G/SAEiyNUBiLqXhF+1QWL2QN+bntL1extKcoQ8ZrXNnNmJQNau8U0YILI+jvX zp4ZPem9vW/RrC0zr+Kb6zG5EoTx0EGlZ0B1eGnN6P9Oh99Y6dtitN88r4li7kFzA5+T 8h635K1sgDIAed2lbgZ/e3zh18azN8QGfj6RUzYqHXIam+BIdPzVzYwxKCU5+fAEC4kN Lblz/aSIaXTC47UbBrFKMRwbYICg8tEj5ndQM3i5hg7mC6/P4fvkLsOSCkE1No0FVqfg 1ZgkRUDtDK4v3J1mGrN8D2eIzzc0GYiZAKZAcbGizOsq6UuUzgwxpREGAXS14sFPeoHN xD8Q== MIME-Version: 1.0 Received: by 10.50.106.199 with SMTP id gw7mr4895776igb.27.1358104164992; Sun, 13 Jan 2013 11:09:24 -0800 (PST) Sender: kristian.rosenvold@zenior.no Received: by 10.50.187.135 with HTTP; Sun, 13 Jan 2013 11:09:24 -0800 (PST) Date: Sun, 13 Jan 2013 20:09:24 +0100 X-Google-Sender-Auth: cmDsJsxAmyfxtasqS_CxCGvlYl0 Message-ID: Subject: Need a small sax parser for m-s-u From: Kristian Rosenvold To: Maven Developers List Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnCgtEGgLlM2NiyIHMgKuqQlbBs5KQVnllhoLEC0gIHGnU6UybN1iqkjDX4RTMm5XD7pC+x X-Virus-Checked: Checked by ClamAV on apache.org We switched to SAX parsing in m-s-u, and we just had an interesting issue (https://jira.codehaus.org/browse/SUREFIRE-950) which basically happens because some plugin sets org.xml.sax.driver to point to a variable that is only present in that plugins classloader, when m-s-u later tries to instantiate a sax parser it blows up. This happens because the standard instantiation algorithm in org.xml.sax.helpers.XMLReaderFactory.createXMLReader() is not good enough for us. To my knowledge there is no standard way to determine what implementation is in use for different JDK's, so the best option is probably to shade in a nice small version of a sax parser from somewhere. I tried shading in xerces, which works nicely, but is hardly "small". Anyone have any other suggestions ? Kristian --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org