j-dev mailing list and we will give you extra information.
Thank you,
--
Elena Litani/ IBM Toronto
Wednesday, December 03, 2003 5:20 PM
To: [EMAIL PROTECTED]
cc:
From: Muruga Chinnananchi <[EMAIL PROTECTED]>
Subject: Creating XSModel/Grammer from dom element
Hi,
I am wondering ho
Hi,
I am wondering how to create SchemaGrammer directly
from an parsed dom element..I have a wsdl
which contains elements, i want to use these
elements to create xerces XSModel.
Any help is much appreciated?
thanks
-muruga
__
Do you Yahoo!?
Free Pop-Up
; cc :
Objet : RE: XSModel
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
EMAIL PROTECTED]
http://www.RobertHouben.com/
-Original Message-
From: Blake Meike [mailto:[EMAIL PROTECTED]
Sent: Monday, April 28, 2003 7:44 AM
To: [EMAIL PROTECTED]
Subject: XSModel
Hey, this is confusing.
All the documentation I can find about manipulating an XS Grammar
says
to
cc :
Objet : Re: Réf. : Re: Réf. :
RE: XSModel
04/2
> 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 su
x27;in' is an DOMInputSource
which points to a schema
parser.setAbstractSchema(asModel); // 'parser' is an instance of DOMASBuilder
>If you want to check the properties of various schema components, then
>XSModel is the answer.
>If you want to check the original XML represent
> 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, t
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 sche
> 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
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
om: Blake Meike [mailto:[EMAIL PROTECTED]
Sent: Monday, April 28, 2003 7:44 AM
To: [EMAIL PROTECTED]
Subject: XSModel
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 XSGr
ly do this, it turns out
that XSModel and everything about it are deprecated.
So what is replacing them?
Blake Meike
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Frank,
I'm trying to implement the example code, found on the Xerces FAQ page for grammar
parsing, http://xml.apache.org/xerces2-j/faq-grammars.html#faq-5, "examining
grammars".
When I access my XSModel, I can retrieve a named map with element declarations,
but only the top
Hello there,
I'm trying to implement the example code, found on the Xerces FAQ page for
grammar parsing, http://xml.apache.org/xerces2-j/faq-grammars.html#faq-5,
"examining grammars".
When I access my XSModel, I can retrieve a named map with element declarations,
but onl
16 matches
Mail list logo