Re: Creating XSModel/Grammer from dom element

2003-12-18 Thread Elena Litani
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

Creating XSModel/Grammer from dom element

2003-12-03 Thread Muruga Chinnananchi
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

Réf. : RE: XSModel

2003-04-29 Thread Nicolas . GOLOUBENKO
; cc : Objet : RE: XSModel

RE: XSModel

2003-04-28 Thread Sandy Gao
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

Re: XSModel

2003-04-28 Thread Blake Meike
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

Réf. : Re: Réf. : Re: Réf. : RE: XSModel

2003-04-28 Thread Nicolas . GOLOUBENKO
cc : Objet : Re: Réf. : Re: Réf. : RE: XSModel 04/2

Re: Réf. : Re: Réf. : RE: XSModel

2003-04-28 Thread 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 su

Réf. : Re: Réf. : Re: Réf. : RE: XSModel

2003-04-28 Thread Nicolas . GOLOUBENKO
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

Re: Réf. : Re: Réf. : RE: XSModel

2003-04-28 Thread Sandy Gao
> 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

Réf. : Re: Réf. : RE: XSModel

2003-04-28 Thread Nicolas . GOLOUBENKO
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

Re: Réf. : RE: XSModel

2003-04-28 Thread Sandy Gao
> 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

Réf. : RE: XSModel

2003-04-28 Thread Nicolas . GOLOUBENKO
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

RE: XSModel

2003-04-28 Thread Robert Houben
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

XSModel

2003-04-28 Thread Blake Meike
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]

Re: Help needed with XSModel

2002-12-09 Thread khalm
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

Help needed with XSModel

2002-12-09 Thread Frank Jakop
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