You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Pae Choi <pa...@earthlink.net> on 2003/02/06 16:40:26 UTC

XML Schema

I understand we can use xerces to build, parse, and validate
XML. At least that's what I have been using it for up to now.

Now I need to know if it also support or contains an extension
to "build the XML Schema."

Any info and/or comments?


Pae



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: XML Schema -- Follow Up

Posted by Pae Choi <pa...@earthlink.net>.
This is a follow-up regarding on the Eclipse/XSD package. It took
some time to prepare to play and create a simple XML schema, but
that package seems like what I've thinking for my needs. The total
number of packages and their size are kinda more and bigger than
what I was hoping for my needs though. Thanks again, Bob.


Regards,


Pae




> Bob,
>
> Thank you for your reply as well as recommendation. I will take a
> look at it.
>
> Regards,
>
>
> Pae
>
>
> >
> >
> >
> >
> > Pae,
> >
> >       Obviously, you could use the DOM API provided by Xerces-J to
> > construct the infoset for the XML Schema consisting of the elements used
> in
> > the XML Representation of XML Schema, and then serialize that.
> >
> >       But if you want something that will help make sure that what you
are
> > building is truly a legal schema, or you expect to not only build a
schema
> > but sometimes update a schema, you might be better off using a library
> that
> > directly models the schema components.  There is an open-source Java
> > library to do this which you can find at http://www.eclipse.org/xsd .
(I
> > was a contributor to defining the rich and detailed API provided in that
> > library).
> >
> >                   Regards,
> >                   Bob
> >
> > Bob Schloss
> > XML/XSL Transformational Systems
> > IBM Thomas J. Watson Research Center
> > Yorktown Heights, New York, USA
> >
> >
> >
> >
> >                       "Pae Choi"
> >                       <paechoi@earthlin        To:
> <xe...@xml.apache.org>
> >                       k.net>                   cc:
> >                                                Subject:  XML Schema
> >                       02/06/2003 10:40
> >                       AM
> >                       Please respond to
> >                       xerces-j-user
> >
> >
> >
> >
> >
> > I understand we can use xerces to build, parse, and validate
> > XML. At least that's what I have been using it for up to now.
> >
> > Now I need to know if it also support or contains an extension
> > to "build the XML Schema."
> >
> > Any info and/or comments?
> >
> >
> > Pae
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> > For additional commands, e-mail: xerces-j-user-help@xml.apache.org
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> > For additional commands, e-mail: xerces-j-user-help@xml.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: XML Schema

Posted by Pae Choi <pa...@earthlink.net>.
Bob,

Thank you for your reply as well as recommendation. I will take a
look at it.

Regards,


Pae


>
>
>
>
> Pae,
>
>       Obviously, you could use the DOM API provided by Xerces-J to
> construct the infoset for the XML Schema consisting of the elements used
in
> the XML Representation of XML Schema, and then serialize that.
>
>       But if you want something that will help make sure that what you are
> building is truly a legal schema, or you expect to not only build a schema
> but sometimes update a schema, you might be better off using a library
that
> directly models the schema components.  There is an open-source Java
> library to do this which you can find at http://www.eclipse.org/xsd .  (I
> was a contributor to defining the rich and detailed API provided in that
> library).
>
>                   Regards,
>                   Bob
>
> Bob Schloss
> XML/XSL Transformational Systems
> IBM Thomas J. Watson Research Center
> Yorktown Heights, New York, USA
>
>
>
>
>                       "Pae Choi"
>                       <paechoi@earthlin        To:
<xe...@xml.apache.org>
>                       k.net>                   cc:
>                                                Subject:  XML Schema
>                       02/06/2003 10:40
>                       AM
>                       Please respond to
>                       xerces-j-user
>
>
>
>
>
> I understand we can use xerces to build, parse, and validate
> XML. At least that's what I have been using it for up to now.
>
> Now I need to know if it also support or contains an extension
> to "build the XML Schema."
>
> Any info and/or comments?
>
>
> Pae
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: XML Schema

Posted by Bob Schloss <rs...@us.ibm.com>.



Pae,

      Obviously, you could use the DOM API provided by Xerces-J to
construct the infoset for the XML Schema consisting of the elements used in
the XML Representation of XML Schema, and then serialize that.

      But if you want something that will help make sure that what you are
building is truly a legal schema, or you expect to not only build a schema
but sometimes update a schema, you might be better off using a library that
directly models the schema components.  There is an open-source Java
library to do this which you can find at http://www.eclipse.org/xsd .  (I
was a contributor to defining the rich and detailed API provided in that
library).

                  Regards,
                  Bob

Bob Schloss
XML/XSL Transformational Systems
IBM Thomas J. Watson Research Center
Yorktown Heights, New York, USA



                                                                                                                                      
                      "Pae Choi"                                                                                                      
                      <paechoi@earthlin        To:       <xe...@xml.apache.org>                                               
                      k.net>                   cc:                                                                                    
                                               Subject:  XML Schema                                                                   
                      02/06/2003 10:40                                                                                                
                      AM                                                                                                              
                      Please respond to                                                                                               
                      xerces-j-user                                                                                                   
                                                                                                                                      




I understand we can use xerces to build, parse, and validate
XML. At least that's what I have been using it for up to now.

Now I need to know if it also support or contains an extension
to "build the XML Schema."

Any info and/or comments?


Pae



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org