quick followup for Axis pom.xml which builds the kernel which excluded xerces 
from anything to do with woden
heres the proof

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.apache.axis2</groupId>
        <artifactId>axis2-parent</artifactId>
        <version>1.5.1</version>
        <relativePath>../parent/pom.xml</relativePath>
    </parent>
     <groupId>org.apache.axis2</groupId>
    <artifactId>axis2-kernel</artifactId>
    <version>1.5.1</version>
    <dependencies>
           <dependency>
            <groupId>org.apache.woden</groupId>
            <artifactId>woden-api</artifactId>
            <version>${woden.version}</version>
            <exclusions>
                <exclusion>
                    <groupId>xerces</groupId>
                    <artifactId>xercesImpl</artifactId>
                </exclusion>
              </exclusions>
            </dependency>
     </dependencies>
</project>

xerces is completely missing from Axiom (Axis Object Model project which 
processes doc-literal XSDs with namespace decoration)

Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 Ez az
üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
ezen üzenet tartalma miatt.

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




From: [email protected]
To: [email protected]; [email protected]; [email protected]
Subject: RE: woden and xerces Xerces2 Java 2.11.0 (XML Schema 1.1) (Beta) 
compatibility question
Date: Thu, 28 Apr 2011 15:51:16 -0400








as i explained in my response i wrote last nite you are doing nothing wrong

the original IBM Xerces codebase was geared to processing DTD based XML
when XSD 1.0 was published ibm made a half-hearted attempt to accomodate XSD 
schema which worked for simple-type elements only
but failed miserably with ComplexType Element Declarations
since that time IBM has opensourced the xerces project to sourceforge  (thats a 
fancy way of saying abandoned xerces)
and any necessary additions to the code base (such as accomodating XMLSchema 
1.1) have gone un-addressed since 2006

the end result is that you will see NPE NullPointerExceptions popping up all 
over the place because the indians who worked on the code
never anticipated any of the test scenarios for XML Schema 1.1..there was no 
architect and no project lead and general mayhem
took over the project..which is the primary reason xerces became an abandoned 
project

currently i have a refactor in the works which implements and extends the 
original xerces codebase from Sun Microsystems JAXP parser deploy.jar from the 
original Sun Microsystems JDK distributions implementing specifically 
com.sun.org.apache.xerces package which DOES work and whose parse routines are 
implemented extensively by both Glassfish and Weblogic Application Servers

should be ready for beta by 1 May (in case you're interested)

let me know if you're willing to test I'll send you ca copy next week
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




> To: [email protected]
> From: [email protected]
> Subject: woden and xerces Xerces2 Java 2.11.0 (XML Schema 1.1) (Beta) 
> compatibility question
> Date: Thu, 28 Apr 2011 18:11:07 +0000
> 
> I am using woden to parse wsdl files and Xerces2 Java 2.11.0 (XML Schema 1.1) 
> (Beta) to parse xsd documents.
>    WSDLFactory factory = WSDLFactory.newInstance();
>                WSDLReader reader = factory.newWSDLReader();
>                reader.setFeature(WSDLReader.FEATURE_VALIDATION, true);
>                String wsdlurl = "E://apps//metacenter_home//xsd//greath.wsdl";
>                Description descComp = reader.readWSDL(wsdlurl);  
>                
> When I do so I get the following exception while execution the above code.
> 
> java.lang.NullPointerException
>       at java.util.StringTokenizer.<init>(StringTokenizer.java:182)
>       at java.util.StringTokenizer.<init>(StringTokenizer.java:204)
>       at org.apache.xerces.impl.dv.xs.XSSimpleTypeDecl.getActualValue(Unknown 
> Source)
>       at org.apache.xerces.impl.dv.xs.XSSimpleTypeDecl.validate(Unknown 
> Source)
>       at 
> org.apache.xerces.impl.xs.util.XSTypeHelper.isValueValidForASimpleType
> (Unknown Source)
>       at 
> org.apache.xerces.impl.xs.util.XSTypeHelper.isAtomicValueValidForAnUnion
> (Unknown Source)
>       at org.apache.xerces.impl.xs.XMLSchemaValidator.addDefaultAttributes
> (Unknown Source)
>       at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement
> (Unknown Source)
>       at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown 
> Source)
>       at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement
> (Unknown Source)
>       at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.
> dispatch(Unknown Source)
>       at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
> (Unknown Source)
>       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>       at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>       at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
>       at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
>       at org.apache.woden.internal.DOMWSDLReader.getDocument
> (DOMWSDLReader.java:796)
>       at org.apache.woden.internal.DOMWSDLReader.readWSDL
> (DOMWSDLReader.java:296)
>       at org.apache.woden.internal.DOMWSDLReader.readWSDL
> (DOMWSDLReader.java:157)
> Link:
> Xerces2 Java 2.11.0 (XML Schema 1.1) (Beta) - zip
> 
> Could you tell me what I am doing wrong?
> 
> Thanks
> Rachna
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
                                          

Reply via email to