Corey what changes did you make to your handler? What parser
are you using? SAX 2?
Most likely you change the signature of your handler.
Jeff
From: Corey Oordt <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Xerces not calling startElement
Date: Mon, 28 Apr 2003 07:
Yes, namespace. It means an element with the local name "Flat_POBox" and
without a namespace.
Cheers,
Sandy Gao
Software Developer, IBM Canada
(1-905) 413-3255
[EMAIL PROTECTED]
Seems to me that, for the example you gave, what you need to get is
properties of schema components, at the component level, rather than the
XML representation level. This can be done by using XSModel.
There are 2 ways of doing so: Xerces grammar preparsing, or PSVI.
1. Preparsing:
You can use t
Many thanks.
Blake Meike
On Monday, April 28, 2003, at 10:51 AM, Robert Houben wrote:
They are deprecated because they "might move" to another package. You
are not the first person to be confused by this. (I wasn't the first,
either!) Go ahead and use them.
Robert Houben
mailto:[EMAIL PROTECTED]
Thank you, I will have a look.
Bob Schloss
> introspect the schema itself
Sandy>If you want to check the properties of various schema components,
then XSModel is the answer.
Sandy>If you want to check the original XML representation of the schema,
then no, not in the Xerces world. The Xerces schema doesn't retain such
information.
FY
Title: Anyone can explain this error message?
org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content starting with element 'Flat_POBox'. One of '{"":Flat_POBox}' is expected.
What does the "":Flat_POBox mean? Is it an either/or situtation? Or is it something to do with the n
>You mean put it in a grammar pool, and give the pool to the parser?
I mean loading a schema and making the parser to use it for validation.
But I didn't upgrade my code since weeks, and I continue to use this kind of
code :
ASModel asModel = parser.parseASInputSource(in); // 'in' is an DOMIn
> setting a schema model
You mean put it in a grammar pool, and give the pool to the parser?
> introspect the schema itself
If you want to check the properties of various schema components, then
XSModel is the answer.
If you want to check the original XML representation of the schema, then
no,
Absolutely, you're right !
I'm sorry, I made a confusion between ASModel and XSModel.
I profit from this discussion to ask my question a second time : after setting
a schema model to a dom parser to validate XML
instances against this schema, does any API exist to introspect the schema
itself w
> Someone answers me that XSModel was dead and should not be used now.
Huh?! XSModel *is* alive, and will be alive for some time (hopefully a long
time). But as Robert said, it might be moved to a different package.
Is it possible that you are confusing it with ASModel?
Thanks,
Sandy Gao
Softwar
I asked a question like that a few weeks ago. Someone answers me that XSModel
was dead and should not be used now.
Because I had to introspect schemas, I decided to use a simple XML parser to do
that instead of using a specific XSD API.
Nicolas
They are deprecated because they "might move" to another package. You
are not the first person to be confused by this. (I wasn't the first,
either!) Go ahead and use them.
Robert Houben
mailto:[EMAIL PROTECTED]
http://www.RobertHouben.com/
-Original Message-
From: Blake Meike [mailto
Hey, this is confusing.
All the documentation I can find about manipulating an XS Grammar says
to get the grammar from the grammar pool, after the XSD is parsed, cast
it to an XSGrammar, and then use the "toXSModel()" method to obtain an
object for inspection. When I try to actually do this, i
Hi everyone,
Just the other day may program stopped calling startElement. It calls
endElement, startDocument, and others, but it won't call startElement.
What did I do, and how can I un-do it ?
Thanks,
Corey Oordt
-
To unsubscrib
Hi,
I think JAXB addresses the Mapping of XML to Java Objects and vice
versa..
All we need to have is the Schema to which our XML files will conform
and JAXB will generate the Java Files for the Types we have specified in the
Schema . Using these Java Files you can Marshal ( Converting Ja
Simon Kitching wrote:
On Mon, 2003-04-28 at 12:04, Dennis Sosnoski wrote:
I definitely *am* aware of Apache Digester, and mention it in all my
talks on different approaches to working with XML in Java.
Amazing who hangs out on these lists :-)
You never know who's listening... ;-)
I should
On Mon, 2003-04-28 at 12:04, Dennis Sosnoski wrote:
> Simon Kitching wrote:
>
> >It's such a shame the author of this article was not aware of Apache
> >Digester.
> >
> I definitely *am* aware of Apache Digester, and mention it in all my
> talks on different approaches to working with XML in Jav
Simon Kitching wrote:
It's such a shame the author of this article was not aware of Apache
Digester.
I definitely *am* aware of Apache Digester, and mention it in all my
talks on different approaches to working with XML in Java. Digester is a
very useful tool for building structures of objects
19 matches
Mail list logo