nfiguration with the following
> document pipeline:
>
> NamespaceScanner -> XIncludeHandler -> DTDValidator -> SchemaValidator
>
> Obviously, my point is to have xi:include elements resolved before DTD
> validation so that I don't need to modify the DTD to recogni
Hi,
I'd like to have a custom XNI parser configuration with the following
document pipeline:
NamespaceScanner -> XIncludeHandler -> DTDValidator -> SchemaValidator
Obviously, my point is to have xi:include elements resolved before DTD
validation so that I don't need t
I tried out the sample XMLGrammerBuiler.java, it still requires the
defined within the document. Any other
ideas?
thanks.
-Original Message-From: Maksym Kovalenko
[mailto:[EMAIL PROTECTED]Sent: Monday, June 23, 2003
10:43 AMTo: [EMAIL PROTECTED]Subject: Re: Use
DTD Vali
Take a look at
http://xml.apache.org/xerces2-j/faq-grammars.html#faq-3
Benson Cheng wrote:
Is there a similar
property http://apache.org/xml/properties/schema/external-schemaLocation
that for DTD? Basically I want to validate the documents against DTD, but
there
Is there a similar property http://apache.org/xml/properties/schema/external-schemaLocation
that for DTD? Basically I want to validate the documents against DTD, but
there no DOCTYPE defined within the document, so I want to set a DTD through
the property or feature.
Thanks,
Benson.
Is there any way to have the XMLReader perform DTD validation conditionally?
I would like it to perform DTD validation if it finds a DOCTYPE entity, and
do anything if it does not. Right now I enable validation before parsing
any xml file, but if no DOCTYPE is found, I get the following exception
Keeney, Thomas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 22, 2003 2:23 PM
To: '[EMAIL PROTECTED]'
Subject: DTD Validation
Hello,
I'm using the SAXParser with DTD validation enabled in Xerces 2.2.1.
Currently I have to include a document type definition in the xml document
fo
Hello,
I'm using the SAXParser with DTD validation enabled in Xerces 2.2.1.
Currently I have to include a document type definition in the xml document
for validation to work. However, does anyone know of a way that I could
validate an XML document WITHOUT a document type definition hard
that Xerces _can_ do Schema validation _without_ DTD
validation
[EMAIL PROTECTED] wrote:
Hi Jesus,
This is a schema validation error. (You can tell; cvc == complexType
validation constraint). It's produced when Xerces can't find your schema
file. Usually this means that something went
|
| cc:
|
| Subject: Turning off DTD validation but allow Schema validation (
w
and "SOAP-ENV:Envelope" is the root element. Is this an error from
the DTD validation?
How can I turn off DTD validation but allow Schema validation?
Here is a portion of the SOAP message:
http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsi="http://www.w3.org/2001/XMLSch
ubject: RE: SAX - Forcing DTD validation?
I did find a way and I hope it's the right one?
Used the setSystemId() method on the InputSource to set the DTD to my local
one... I guess I was surprised to see that the InputSource was more than a
generic wrapper around a InputStream/Reader.
Sorry,
"Thornton, Marc" wrote:
> Any caveats anyone is aware of in using this solution? I know that when I
> already had a DTD declaration in my XML, I received an error based on the
> format of the header (either DOCTYPE or ?xml version info) when I used this
> approach.
What you really want to do you
al Message-
From: Thornton, Marc
Sent: Monday, April 01, 2002 1:44 PM
To: '[EMAIL PROTECTED]'
Subject: SAX - Forcing DTD validation?
Is there any way to force validation of a specific DTD on a file that does
not already define one?
I want to do this to allow a user the flexibility of
Is there any way to force validation of a specific DTD on a file that does
not already define one?
I want to do this to allow a user the flexibility of opening the XML file
in, for example, Internet Explorer, without that user requiring the DTD file
to view it...
Of course, I know I could wrap th
vivek bodhraj wrote:
> I have a requirement to display a DTD on a scrollpane
> using Jtree. I have checked up the samples that come
> with xercesparser(131), my understanding is that they
Yes, it certainly is feasible but there's no code currently
that does this. Perhaps it will be a future sample
Hi,
I have a requirement to display a DTD on a scrollpane
using Jtree. I have checked up the samples that come
with xercesparser(131), my understanding is that they
only display the xml instance not the dtd alone. Is
there a way I can display it wrapping it with JTree?
Any help would be appreciated
PROTECTED]>
Sent: Tuesday, September 04, 2001 9:30 PM
Subject: Re: DTD validation
> Hi Amedeo,
>
> I tried your test.xml and test.dtd using the sax.SAXCount sample
> using both Xerces-J 1.4.2 and 1.4.3, and both detected the error, so I'm
> not sure why you don
778-6044; Phone (416) 448-6044
mailto:[EMAIL PROTECTED]
Please respond to [EMAIL PROTECTED]
To: "xerces-j-user" <[EMAIL PROTECTED]>
cc:
Subject: Re: DTD validation
> are you sure you implemented the ErrorHandler to capture the error and
> warning mess
t;[EMAIL PROTECTED]>
> To: xerces-j-user <[EMAIL PROTECTED]>
> cc:
>
> Subject:Re: DTD validation
>
> Hi Anish,
>
> > Your XML file and the Dtd is correct . Your dtd correctly says that
> there
> > will be a name tag inside the content tag. S
are you sure you implemented the ErrorHandler to capture the error and warning messages?
Please respond to xerces-j-user <[EMAIL PROTECTED]>
To: xerces-j-user <[EMAIL PROTECTED]>
cc:
Subject: Re: DTD validation
Hi Anish,
> Your XML file and the Dtd is
Hi Anish,
> Your XML file and the Dtd is correct . Your dtd correctly says that there
> will be a name tag inside the content tag. So the parser is correctly not
> complaining.
Inside the content tag, _not_ inside the container tag at the same level with
the content tag.
I would like to have the
Amedeo Farello wrote:
> I would expect, from what I have understood about DTDs (which could not be
> enough, I admit) that a validating parser should raise an exception indicating
> the presence of a element outside of a element. Instead
> Xerces
> parses such a file without problems.
You must
To: xerces-j-user
Subject:DTD validation
Hi,
I have just started working with DTDs and I feel I am getting strange
results
from validation. Since I am not an XML expert, I hope someone can help.
I will use a minimal example:
given the following 'test.dtd':
and the
Hi,
I have just started working with DTDs and I feel I am getting strange results
from validation. Since I am not an XML expert, I hope someone can help.
I will use a minimal example:
given the following 'test.dtd':
and the following 'test.xml':
Cat
Dog
I would
This is a Java issue, I believe. You can specify the proxy settings
through system properties like http.proxyHost and http.proxyPort. For
example:
http://www.ibiblio.org/javafaq/javafaq.html#proxy
For authentication, you'll need to implement an Authenticator and set
it as the default using
Hi,
Is it possible to specify proxy settings for the Xerces parser to use when
retrieving a DTD? The program I am working on retrieves an XML doc from the
web (through a proxy requiring authentication), but then I can't parse it
because the parser can't download the dtd because of the proxy. Is
27 matches
Mail list logo