xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] Validating Against Relax NG Schemas?
- From: Randall R Schulz <rschulz AT sonic.net>
- To: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Validating Against Relax NG Schemas?
- Date: Wed, 25 Oct 2006 11:30:55 -0700
Wolfgang,
Thanks. Follow-ups below.
On Wednesday 25 October 2006 10:59, Wolfgang Hoschek wrote:
> RelaxNG, XOM and *SAX* can be combined via the Nux method
> nux.xom.pool.BuilderFactory.createMSVBuilder(...).
> See http://dsd.lbl.gov/nux/api/nux/xom/pool/BuilderFactory.html
>
> Example usage:
>
> ...
>
> Alternatively, RelaxNG, XOM and *StaX* can be combined via the Nux
> method nux.xom.io.StaxUtil.createBuilder(...) where XMLInputFactory
> means Woodstox StAX configured to validate against RelaxNG. See the
> woodstox documentation for examples, as well as See http://
> dsd.lbl.gov/nux/api/nux/xom/io/StaxUtil.html
>
> Example usage:
>
> ...
>
> Both SAX and StAX Builder implementations use the Sun-MSV validator
> behind the scenes.
I did also encounter Nux in my research. Beyond the fact that it uses
XOM, it was unclear its role in the landscape of XML object models
(generically speaking). Should I forgo direct use of XOM and opt for
Nux instead? What tradeoffs does it pose?
Or, more appropriately, where might I find answers to these questions?
By the way, perhaps I should mention that I plan to use eXist for XML
persistence in the system I'm building.
> Wolfgang.
Randall Schulz
> On Oct 25, 2006, at 10:41 AM, Randall R Schulz wrote:
> > Hi,
> >
> > I'm just getting started with my first real XML project. As part of
> > learning the landscape, I created a W3C XML Schema for my domain
> > (first-order logic formulas and knowledge bases holding them). It
> > was a
> > rather frustrating exercise and it does not seem amenable to quite
> > capturing my ideal representation for this content, though it's
> > entirely possible I overlooked options not apparent to a novice.
> >
> > So I kept surveying the XML and XML+Java processing landscape and
> > found
> > XOM and, of course, Relax NG. It seems that they might be a good
> > choice
> > for me but as part of deciding the precise set of technologies I'll
> > use, I need to know what's involved with mixing XOM with Relax NG.
> >
> > Is it possible? If so, is it straightforward? I could not find
> > anything
> > specific or definitive addressing this issue.
> >
> > Thanks in advance for any information, advice or pointers.
-
[XOM-interest] Validating Against Relax NG Schemas?,
Randall R Schulz, 10/25/2006
-
Re: [XOM-interest] Validating Against Relax NG Schemas?,
Wolfgang Hoschek, 10/25/2006
-
Re: [XOM-interest] Validating Against Relax NG Schemas?,
Randall R Schulz, 10/25/2006
-
Re: [XOM-interest] Validating Against Relax NG Schemas?,
Wolfgang Hoschek, 10/25/2006
-
Re: [XOM-interest] Validating Against Relax NG Schemas?,
Randall R Schulz, 10/25/2006
-
Re: [XOM-interest] Validating Against Relax NG Schemas?,
Steve Loughran, 10/25/2006
- Re: [XOM-interest] Validating Against Relax NG Schemas?, Randall R Schulz, 10/25/2006
-
Re: [XOM-interest] Validating Against Relax NG Schemas?,
Steve Loughran, 10/25/2006
-
Re: [XOM-interest] Validating Against Relax NG Schemas?,
Randall R Schulz, 10/25/2006
- Re: [XOM-interest] Validating Against Relax NG Schemas?, Wolfgang Hoschek, 10/25/2006
-
Re: [XOM-interest] Validating Against Relax NG Schemas?,
Wolfgang Hoschek, 10/25/2006
-
Re: [XOM-interest] Validating Against Relax NG Schemas?,
Randall R Schulz, 10/25/2006
-
Re: [XOM-interest] Validating Against Relax NG Schemas?,
Wolfgang Hoschek, 10/25/2006
Archive powered by MHonArc 2.6.24.