I figured it out! The problem had to do with the way I was calling the parse
method.
I was doing this:
parser.parse(file, handler);
when I should have been doing this:
parser.getXMLReader().parse(filePathName);
Because I didn't call the parse method from the SAXParser's underlying
XMLReader,
The original post asked for a way to turn-off checking for wellformed-ness.
There isn't any. It wouldn't be XML.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 23, 2001 6:14 PM
> To: [EMAIL PROTECTED]
> Subject: Re: tags in uppercase/lower
node.getNodeName().equalsIgnoreCase("foo")
Hi people, i want to know whether exists a way to parsing an XML
fileand indicate to the parser that the letter case of
the tags doesn't matter
for instance
something...
is the same that
something...
thanx
--
Hi people, i want to know whether exists a way to parsing an XML
fileand indicate to the parser that the letter case of
the tags doesn't matter
for instance
something...
is the same that
something...
thanx
---
Hi,
I'd like to use the EntityResolver interface to fetch DTD files form a
specific directory.
My xml files look like:
...
I'm registering my implementation with setEntityResolver(), but I don't get
called.
Any suggestions?
Thanks,
// tt
--
Hello,
We considered this approach actually. At least these two things scared us
off: First, this might be a little interesting with regard to building and
testing. The big one though is that we weren't convinced that we could
guarantee that our DOM implementation wouldn't end up having to use
Hi,
I want to parse file which contains more XML documents:
...
...
...
...
.
.
.
How could I use Xerces framework (SAX API) to solve this issue?
Thanks, Kristian.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
BDY.RTF
Description: RTF file
don't fully grasp the issues, but would it be possible to just use ant targets
to build a dom3 or dom2 version of xerces, with the correct packages? ie the
source could be in a different place but the classes in the right place, no
odd casting reqd etc.
>= Original Message From [EMAIL PROTE
Ack!
Please don't pay any attention to me :-)
I'll get some coffee now.
// tt
> -Original Message-
> From: Taras Tielkes [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 23, 2001 12:33 PM
> To: Xerces-J-User (E-mail)
> Subject: SAX entity weirdness
>
>
> Hi,
>
> Using 1.4.1 and 1.4
Hi,
Using 1.4.1 and 1.4.3 in SAX, and using documents with the following
doctype:
]>
However, occurances of this entity are replaces with the charachter quote
character (").
I also see the same thing when I implement and register DeclHandler.
When I replace the text between the quotes with so
Hi All ,
Is it possible to load the schema definition into xerces DOMParser or
SAXParser with out mentioning the schemaLocation in the instance
document.
Is there any functionality provided to do like that.If so could you
explain it by example..
Thanks,
Sridhar.
Sridhar Raju.Y,
Infosys Te
Hi people. I've tried to produce a warning (warn on undeclared element) in a DTD with Xerces 1.4.4 But when I parse the XML File that refers this DTD, I don't get the warning message. Have I made a mistake or is there a bug in Xerces ? Thanks in advance for your answer.
Hi,
I use XercesJ 1.4.4 and I use this code to turn on Schema validation and parse a
file:
SAXParserFactory factory = SAXParserFactoryImpl.newInstance();
try {
factory.setFeature("http://xml.org/sax/features/validation",true);
factory.setFeature("http://apache.org/xml/features/val
another thing we tried was setFeature "...grammar-access" to true, which
popped up for a few versions of xerces, but it wasn't too reliable on
complicated dtds and I think is experimental/deprecated/strongly not
recommended.
this gives you an xml-schema representation of the dtd as part of the i
you could try:
http://www.wutka.com/dtdparser.html
we did kind of get something similar with xerces 1.3 by extending DOMParser
and writing callbacks for startDTD, elementDecl, etc, but it seems to be non
public in that it breaks if we update the parser - but like you we didn't
really know the r
16 matches
Mail list logo