Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is it true that the use of Castor XML mandates Xerces as XML parser?

Castor mandates parser xerces XML
0
Posted

Is it true that the use of Castor XML mandates Xerces as XML parser?

0

Yes and no. It actually depends. When requiring pretty printing during marshalling, Castor will internally use Apache’s Xerces to implement this feature. As such, when not using this feature, Xerces is not a requirement, and any JAXP-compliant XML parser can be used (for unmarshalling). In other words, with the latter use case, you do not have to download (and use) Xerces separetely.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123