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 Klaus Malorny <Kl...@knipp.de> on 2012/05/21 15:40:39 UTC
Xerces & StAX: XInclude support?
Hi all,
while I know that Xerces supports XInclude, I have seen no way to enable this
for the StAX pull parser interface. Did I miss something? Are there any
Xerces-specific property names for the XMLInputFactory.setProperty method which
would allow me that?
Thanks & regards,
Klaus
---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org
Re: Xerces & StAX: XInclude support?
Posted by Michael Glavassevich <mr...@ca.ibm.com>.
Hi Klaus,
Xerces doesn't have an implementation of XMLInputFactory / XMLStreamReader
yet.
You might have noticed that XMLInputFactory has a
createXMLStreamReader(javax.xml.transform.Source) method. Some StAX
implementations may support SAXSource and DOMSource here which would allow
you to get an XMLStreamReader over APIs which support XInclude.
Thanks.
Michael Glavassevich
XML Technologies and WAS Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org
Klaus Malorny <Kl...@knipp.de> wrote on 21/05/2012 09:40:39 AM:
> Hi all,
>
> while I know that Xerces supports XInclude, I have seen no way to enable
this
> for the StAX pull parser interface. Did I miss something? Are there any
> Xerces-specific property names for the XMLInputFactory.setProperty
> method which
> would allow me that?
>
> Thanks & regards,
>
> Klaus
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
> For additional commands, e-mail: j-users-help@xerces.apache.org