[jdom-interest] Parsing AND validating a schema

Paul Cooper paul_cooper_premis at hotmail.com
Tue Jan 25 07:58:43 PST 2005


Absolutely awesome!!!

Thanks, works like a champ! Where did you find the docs for this, as I spent 
two days googling (!) for this and never saw this option presented.

>From: Per Norrman <per.norrman at austers.se>
>To: Paul Cooper <paul_cooper_premis at hotmail.com>
>CC: jdom-interest at jdom.org
>Subject: Re: [jdom-interest] Parsing AND validating a schema
>Date: Tue, 25 Jan 2005 01:00:19 +0100
>
>Hi,
>
>try this:
>
>builder.setProperty("http://apache.org/xml/properties/schema/external-schemaLocation",
>
>   "http://www.w3.org/2001/XMLSchema 
>http://www.w3.org/2001/XMLSchema.xsd");
>
>
>I don't know if it works, but at least it connects the XML schema namespace
>with the location of the XML Schema schema .....
>
>(The value of that property is a list of namespace/URI *pairs*).
>
>/pmn

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



More information about the jdom-interest mailing list