Hasan Al-Sheboul wrote:
> So, where are the class implementation (similar to the ones that can be
> found with XML4J) can be found (or how to build) into Xerces 2?
There are three downloadable packages. Check the following page
for info: http://xml.apache.org/xerces2-j/install.html
--
Andy
"Anthony W. Marino" wrote:
> Understood, however, my concern applies to performance and I would believe
> that X2 (the next generation) would be more conscious of issues such as this.
We'll gladly apply your performance patch... ;)
--
Andy Clark * [EMAIL PROTECTED]
-
Hello;
i wont pick on you, nobody used J++ willingly. :-)
i am actually in a somewhat unique position of actually having *helped*
M$FT corrupt java on WinCE, tho i dont think that our quasi secret
chai vm ever shipped.
anyway
On Wed, 20 Feb 2002, Dave wrote:
> Does anybody have any experie
Bug! I have a fix for it. Will put it down soon. Thx.
Sandy Gao
Software Developer, IBM Canada
(1-905) 413-3255
[EMAIL PROTECTED]
"Hua Yang"
Does anybody have any experience using xerces in J++? (ducks) I'm parsing with
InputSources built with StringReaders just fine, but when I hand the
parser.parse(InputSource source) method an InputSource contructed with an
InputStream or InputStreamReader, the program hangs. I'm trying but haven't
hi all,
i am using the XMLSerializer with an OutputFormat object. I do serialize a
xml document that has
been previously loaded using DOMParser. After altering the xml document, the
output, the serializer
creates is formatted in a wierd way. Tags that have been deleted show an
empty line in the ou
Thanx for the hint. It was not set to true. Now the following features are
set:
parser.setFeature( "http://xml.org/sax/features/validation";, true );
parser.setFeature( "http://apache.org/xml/features/validation/schema";, true
);
Still the EntityResolver is not called, but now the validation is d
On Tuesday 19 February 2002 06:04 pm, you wrote:
> At 5:35 PM -0500 2/19/02, Anthony W. Marino wrote:
> >Is this something that's documented or just your observation of X1 and X2?
>
> It's fully documented. It is standard SAX behavior. The detailed
> implementation is a little strange but well with
>
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; Version="1.09a">
>
> the EntityResolver gets not called and my xml file is not validated. Do i
> miss something here?
Shouldn't be like that.. :-) can you provide more information ?
is Feature http://apache.org/xml/features/va
I wrote a Java class which implements the DOMErrorHandler interface (Xerces).
This class aims at validating an XML instance against
an XML schema. The parser used to parse and
compare the schema and the XML instance is a DOMASBuilder (Xerces).
When the XML instance doesn't fit to the XML schema, a
Hi,
So, where are the class implementation (similar to the ones that can be
found with XML4J) can be found (or how to build) into Xerces 2?
Thanks for the help.
[EMAIL PROTECTED] wrote:
> Hello,
>
> We considered this approach actually. At least these two things scared us
> off: First, th
Mercy Ponnupandy wrote:
> Hi,
> I just started project in java and xml. I downloaded
> java xml pack. As per the given instructions, I
> unpacked and saved the jar files in
> \jre\lib\ext (using java 1.3)
> I tried out a sample code in the tutorial. It is
> giving me compilation errors say
hi all,
got a problem with my EntityResolver. It is only called when i refer to a
DTD within my xml file:
this works fine, my EntityResolver gets called and i get the systemId.
however if i want to use a
xsd file like this:
http://www.w3.org/2001/XMLSchema-instance"; Version="1.09a">
the En
> Is there a (or where is the) method in the xerces implementation that is
> used to introduce escape characters in raw text?
>
> i.e. somewhere in the DOM implementation this string: " m&m " is converted
> into " m&m ". Where is the method that does this?
Are u trying to serialize the DOM ? org
Hello All.
Is there a (or where is the) method in the xerces implementation that is
used to introduce escape characters in raw text?
i.e. somewhere in the DOM implementation this string: " m&m " is converted
into " m&m ". Where is the method that does this?
thank you for your time,
nikolas/
Title: errors while loading and validating a XSL file
You
can "sort of" validate your XSL file by running it against a dummy document
through Xalan. Xalan doesn't explicitly need the XSLT schema, but should report
errors in the XSL.
Caveat: I haven't actually tried this.
-Original Me
Hi,
I just started project in java and xml. I downloaded
java xml pack. As per the given instructions, I
unpacked and saved the jar files in
\jre\lib\ext (using java 1.3)
I tried out a sample code in the tutorial. It is
giving me compilation errors saying "cannot resolve
symbol" in those pl
> How do i override the "xsi:noNamespaceSchemaLocation=<>" attribute mentioned
> in the XML to the XSD string retrieved from the database.
You can write an Entity Resolver returning an Input Source object.
Create an Input Source object with a character stream, StringReader in your
case,
Hi,
I need to validate/parse an XML received, against a XSD which is stored in a
Database.
How do i override the "xsi:noNamespaceSchemaLocation=<>" attribute mentioned
in the XML to the XSD string retrieved from the database.
Tahnks in adv.
Reagrds,
Nagendra
---
At 5:35 PM -0500 2/19/02, Anthony W. Marino wrote:
Is this something that's documented or just your observation of X1 and X2?
It's fully documented. It is standard SAX behavior. The detailed
implementation is a little strange but well within what the spec
allows.
--
+---+---
I used ASBuilder.java to validate personal.xsd. If I remove the first
occurrence of the AND , it catches the error and
report the line/column numbers.
But if I just remove OR alone, it will through
exception as follows and not report the correct line/column number
correctly.
[Fatal Error] :-1:-
On Tuesday 19 February 2002 08:19 pm, you wrote:
> "Anthony W. Marino" wrote:
> > Why does Xerces1 processes differently than Xerces2?
>
> Because it's implemented differently.
>
> However, this is clearly a place where the code needs to be
> changed to optimize the behavior. There's no reason to r
"Anthony W. Marino" wrote:
> Why does Xerces1 processes differently than Xerces2?
Because it's implemented differently.
However, this is clearly a place where the code needs to be
changed to optimize the behavior. There's no reason to read
the input character by character once the parser scans th
The line/col numbers are always for the start tag of element
for UPA errors (and other constraints governed by schema-full-checking).
You might be expecting the line/col numbers for the particle that violates
UPA, but this is difficult to implement, and sometimes not that useful.
Difficult: these
24 matches
Mail list logo