ppalaga commented on issue #849: Support for camel-xml-io URL: https://github.com/apache/camel-quarkus/pull/849#issuecomment-595329973 > > ``` > > * If camel-xml-jaxb support and camel-xml-io are there for parsing routes from XML, their pom.xml descriptions (and yaml metadata) should say so. I do not understand them as a general purpose XML parser and a general purpose JAXB package. They are there for end user apps that require parsing routes from XML. They are not there for other Camel Quarkus extensions to get a general XML support (we may need to add new/adapt existing extensions for that). Right? > > ``` > > Not really, `camel-xml-io` contains an xml parser implementation as far as i know Yes, there is a parser implementing Camels own interface `org.apache.camel.xml.io.XmlPullParser` and no other Camel component depends on it except for the core part that parses the XML routes. So, for me this does not look like a general purpose parser ATM. Is it supposed to become one in the future? > > ``` > > * camel-xml-jaxp looks like a general purpose JAXP package to used by other camel components on the camel side and I assume it should be similar here in Camel Quarkus: camel-quarkus-xml-jaxp should be used by other extensions that need JAXP. End user apps should not depend on it directly. Right? If so, the current camel-quarkus-support-xml should be merged with camel-xml-jaxp. WDYT? > > ``` > > The artefact contains as example the [XMLTokenizeLanguage](https://github.com/apache/camel/blob/master/core/camel-xml-jaxp/src/main/java/org/apache/camel/language/xtokenizer/XMLTokenizeLanguage.java) so I think it is safe to let the user if/when to include it. OK, so we need a separate support JAXP extension for the native quirks - so `camel-quarkus-support-xml` could be renamed to `camel-quarkus-support-jaxp`. WDYT?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services