Hi All,
I think, I am pretty much running into the same issue.
The following is the original and parsed file declaration.
Original Declaration:
http://www.developer.cognos.com/schemas/bmt/58/2";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.developer
OK I'm done ! This is working. Thank you for you help.
-Original Message-
From: Michael Glavassevich [mailto:[EMAIL PROTECTED]
Sent: mardi 24 avril 2007 19:11
To: j-users@xerces.apache.org
Cc: Vila Christophe
Subject: RE: Forcing validation without changing XML file
You can'
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
> Source)
>at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
>
> Any ideas ?
>
> -Original Message-
> From: Vila Christophe
> Sent: mardi 24 avril 2007 15:36
> To: 'Michael Glavassevich&
ent: mardi 24 avril 2007 15:36
To: 'Michael Glavassevich'; j-users@xerces.apache.org
Subject: RE: Forcing validation without changing XML file
Very good idea ! I have just tested it and it works well. Thank you !
-Original Message-
From: Michael Glavassevich [mailto:[EMAIL PROTE
Very good idea ! I have just tested it and it works well. Thank you !
-Original Message-
From: Michael Glavassevich [mailto:[EMAIL PROTECTED]
Sent: lundi 23 avril 2007 20:42
To: j-users@xerces.apache.org
Cc: Vila Christophe
Subject: Re: Forcing validation without changing XML file
You
You could try writing a filter which sits in between the parser and the
validator that modifies the namespace URIs passed through startElement()
and endElement(). Take a look at XMLFilter [1] and XMLFilterImpl [2].
Thanks.
[1]
http://xerces.apache.org/xerces2-j/javadocs/api/org/xml/sax/XMLFilt
Hi all,
I have to write a module that parses very big XML files (>10MB) having
always the same structure. I have written a schema and would like to
validate these XML files with it... But of course, the XML files do not
declare any schema (the root element is instead of http://www.w3.org/2001/XM