[jdom-interest] Parsing AND validating a schema
Per Norrman
per.norrman at austers.se
Tue Jan 25 10:36:51 PST 2005
Paul Cooper skrev:
> 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.
>
http://xml.apache.org/xerces2-j/properties.html
and scroll down a bit.
/pmn
>> 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