Hi,
http://www.bts.com/pcsp";
xmlns="http://www.bts.com/pcsp";
xmlns:xs="http://www.w3.org/2001/XMLSchema";
elementFormDefault="qualified">
The problem is that the key is
Did you call parseASXXX to parse the schema(s), and call setASModel to set
them back onto the ASBuilder? You need to do that to reuse the preparsed
schema(s).
Sandy Gao
Software Developer, IBM Canada
(1-905) 413-3255
[EMAIL PROTECTED]
> when using latest xerces2 (CVS) I get two error handler calls for a
single
> failed constraint. Can someone please explain if this was indended? I
don't
> see a good reason for that.
It's intended, because we didn't think that either one of the error
messages is sufficient. And it's not (current
Here is something that is bugging me... during the parsing of an RSS file,
I need to be able to tell if it is a 0.9 RSS or a 1.0 RSS. Unlike RSS 0.91
and 0.92, there is no "version" attribute. Here is what I have to work with:
http://my.netscape.com/rdf/simple/0.9/";
xmlns:rdf="http://www.w3.or
I defined the following xml schema:
xmlns="http://www.bts.com/pcsp"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">
and composed the follo
You need to include xercesImpl.jar and xmlParserAPIs.jar in your CLASSPATH.
Did you do that?
Lisa.
"Naomi Dushay"
Yes, I believe I was using the correct flags. I also used
-s -f -v
- Naomi
> -Original Message-
> From: Mark Feblowitz [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 19, 2002 3:03 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: feature / enhancement request for schema validation
Are you using the correct flags with the dom.Counter program? Here's what my
XercVal.bat file looks like:
java dom.Counter -s -f -v %1
Code in Counter.java includes the following:
System.err.println(" -v | -VTurn on/off validation.");
System.err.println(" -s | -
In the course of trying to test my schemas with Xerces 2.0.1 and JDK1.4 from
the command line, I had "some fun."
It may be that using Xerces from within a java program is not so difficult, but
it doesn't seem outrageous to desire schema validation or otherwise use Xerces
from the command line
Hi Sauquet,
You need not to do anything extra, just create a parser instance and use
parse() on that, if you don't require to validate w/ DTD. In case,
you need to validate it, use
in your instance file and turn the validation (dtd) property ON.
It will be good to see Xerces *Sample
thank you all,
i found out a way( work around) for that.
regards
--- Jeong Ahn Lee <[EMAIL PROTECTED]> wrote:
> Hi all, i have an xml document like below
>
>
>
> aa
> bb
> bb
>
> this is body
>
>
> in that document, how can i ins
Hi Jeong,
If u want to insert it after than what is the problem in using
appendChild() method.Is there any specific things u want to do or what is
ur main purpose.
Regards
Savita.
Jeong Ahn Lee wrote:
> thanks, but
>
>
>
> aa
> bb
> bb
thanks, but
aa
bb
bb
this is body
in the above document, i want to insert after
element, if it was before i could have used
public Node insertBefore(Node newChild,
Node refChild)
Hi Jeong,
Since you are trying to insert after the last child of the parent, is
it not equivalent to appending to the parent. appendChild() always adds
to the end of the list of children.
Regards,
Sheen
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednes
Hi Jeong ,
As per ur example u want to insert the element after CNN then append
should be good enough but if u want to insert a element in between then u
should know before which element(for ex AAA,or BBB) u want to insert the
element and then u can use insertBefore method to insert the element.
THANKS,
but i know how to append an element to a document but,
i want to know how i can insert an element with in an
existing xml document, say, i have a xml file i am
reading it, and i want to insert an element, how can i
do that, that is not given in that example.
thanks
--- Christopher Eber
Hello,
Does anyone know hoe to initialize(or create) a
HTMLDocument(org.w3c.dom.HTMLDocument) from a URL or a file.
I have heard that DOcuverse's parser can do this, can Xerces do the
same.
I have seen this class in the package though ...
Thanks in advance,
Chiths
-
17 matches
Mail list logo