Skip to main content
Level 3
September 8, 2023
Resuelto

org.apache.cocoon.xml.sax.AttributesImpl and org.apache.cocoon.xml.sax.AbstractSAXPipe are deprecated

  • September 8, 2023
  • 2 respuestas
  • 1042 visualizaciones

Hi, would like to ask which are the equivalent libraries from XML APIs for the following items that are deprecated.
org.apache.cocoon.xml.sax.AttributesImpl

org.apache.cocoon.xml.sax.AbstractSAXPipe

Thanks!

Este tema ha sido cerrado para respuestas.
Mejor respuesta de Peter_Puzanovs

Hi Lyon,

 

There's more modern way than using the cocoon one. Luckly sling project does not force us to use it. Hene we can rely on org.xml packages.

 

Please see following excellent blog post by @ Imran Khan:

https://medium.com/@toimrank/link-checker-and-transformer-381d4f245d12

 

Here, we are using org.xml.sax.helpers.AttributesImpl as alternative to org.apache.cocoon.xml.sax.AttributesImpl and AbstractSAXPipe is no longer needed in this implementation.


Regards,

Peter

2 respuestas

Peter_Puzanovs
Community Advisor
Community Advisor
September 8, 2023

Hi Lyon,

 

There's more modern way than using the cocoon one. Luckly sling project does not force us to use it. Hene we can rely on org.xml packages.

 

Please see following excellent blog post by @ Imran Khan:

https://medium.com/@toimrank/link-checker-and-transformer-381d4f245d12

 

Here, we are using org.xml.sax.helpers.AttributesImpl as alternative to org.apache.cocoon.xml.sax.AttributesImpl and AbstractSAXPipe is no longer needed in this implementation.


Regards,

Peter

Level 3
September 8, 2023

Thanks, will try to check that one