Maybe somebody can tell me what should be the preferred way to validate xml 
against a xsd schema, which is stored locally. I'm using dom4j and xerces like 
this:
SaxReader reader;
  | reader = new SAXReader();
  | reader.setValidation(true);
  | 
reader.setProperty("http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation";,
 "/myhome/myschema.xsd");
Now this never worked with the xercesImpl.jar from the JBOSS_HOME/lib/endorsed 
dir. Iused to workaround setting JBOSS_CLASSPATH=pathToMyXerces.jar on startup, 
that does not work with jboss-4.0.2 anymore. So maybe you guys can let me know 
how you do schema validation. Thanx

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877005#3877005

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877005


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to