When I pass the string "<a></a>", OMXMLBuilderFactory.createOMBuilder().getDocumentElement() creates OMElement of <a/>. what I need is OMElement of <a></a>. Is there a configuration for this? Tried StAXParserConfiguration but no configurations were found.
OMXMLBuilderFactory.createOMBuilder().getDocumentElement() creates empty elements for elements witout a body
35 Views Asked by Dulmina At
1
There are 1 best solutions below
Related Questions in XML
- Postgres && statement Error in Mybatis Mapper?
- Sorting items after building an XML feed?
- C# XML ModelBinding - ASP.NET Core 8 Web API - required field not found
- How can I create an automatic table of contents in docx without the text being bold?
- Odoo 16 Make Fields Readonly Using XPath
- Using similar tags for different objects in XML
- Android Studio problem like gradle sync project failed and plugin error, version 2023.2.1 Iguana
- error: cannot find symbol View root = inflater.inflate(R.layout.toolbar, parent, false);
- Android camera application restriction to 12 mp
- Azure Data Factory Copy Activity Only Importing First Row of XML file
- I am not able to remove space below the navigation view icon in android studio. What;s wrong with code?
- Field can be converted to a local variable ,convert field to local variable in onCreate method
- Deserialize XML with optional different name
- Retrieve tags from xml using python
- Getting attribute from xml and printing it error
Related Questions in AXIOM
- Soap Body contains only partial contents of file
- Resolving Security Vulnerability in axiom-api 1.4 Due to Internal Dependency on apache-mime4j-core 0.8.6
- OMLinkedListMetaFactory ClassCastException in a Tomcat Project on OpenSuse Server but not Locally
- How to resolve ClassNotFoundException with specific Axis2 and Axiom combinations in Tomcat 9 and Java 11?
- Camel, Spring WS and Axiom MTOM and reading the attachments
- SOAP MTOM functionality after ,Upgrading axiom-impl-1.2.20.jar to axiom-impl-1.4.0.jar throws NULL Pointer for Datahandler
- OMXMLBuilderFactory.createOMBuilder().getDocumentElement() creates empty elements for elements witout a body
- I want to grab the username of each seller on this poshmark webpage using javascript, cheerio, and axiom
- Hot to get SOAPBody String in axis2
- Updating to axiom-impl from 1.3.0 to 1.4.0
- < issue in AXIOM parser
- Method threw 'org.apache.axiom.om.OMException' exception. Cannot evaluate org.apache.axiom.om.impl.llom.OMSourcedElementImpl.toString()
- axis2 jar version 1.8.0 with axiom version 1.3.0 throws SOAP11HeaderImpl
- DTD parsing with axiom
- apache axiom soap client class mediator in EI 6.6.0
Related Questions in WOODSTOX
- Woodstox on Android
- How to specify which stax parser to use
- Woodstox not report CDATA event type
- How to load a relative system DTD into a StAX parser?
- How to use XSD for non namespaced documents
- Validate and parse xml using woodstox with local dtd
- Java - XML parser performance : Sun Java Streaming XML Parser (SJSXP) vs Woodstox
- xmlns namespace attributed as key value pair in generated json
- How do i reuse parts of XML document with Woodstox writeRaw WITH indentation?
- How should I use Stax2 Validation API against a W3 Schema
- FasterXML Issues while marsahaling to XML
- how to override a service provider in java
- cannot get cdata result using xstream, stax2, woodstox
- CXF 3.1.12 Cannot create a secure XMLInputFactory
- How to pretty print xml with jackson/woodstox?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
<a></a>and<a/>are two strictly equivalent representations of an empty element with namea. Axiom (just like DOM and most other XML APIs for that matter) doesn't store the details of how that empty element was represented in the input document, so given<a></a>as input, it may produce<a/>as output.