libjdk is a comprehensive C++ implementation of the Java Development Kit (JDK), providing native C++ libraries that mirror the functionality of Java's core libraries and modules. While it provides Java-like APIs, it runs as native C++ code without requiring a Java Virtual Machine.
This project provides a complete C++ implementation of Java's XML functionality, including:
- DOM Processing: Document Object Model parsing and manipulation
- SAX Processing: Simple API for XML event-driven parsing
- StAX Processing: Streaming API for XML pull parsing
- XPath Support: XML Path Language querying
- XSLT Transformation: XML Stylesheet Language Transformations
- Schema Validation: XML Schema validation
- JAXP Integration: Java API for XML Processing
- Performance: High-performance XML processing with minimal memory overhead
- ✅ Cross-platform Support: Windows, Linux, and macOS
- ✅ CMake Build System: Modern, portable build configuration
- ✅ Comprehensive Testing: Extensive test suite included
- ✅ OpenJDK Compatible: Based on OpenJDK 17.35
- ✅ GPL Licensed: Free software with Classpath exception
- java.base: Core Java functionality (required)
java.xml/
├── main/ # Main source code
│ ├── share/ # Platform-independent code
│ │ ├── classes/ # Java class implementations
│ │ ├── include/ # Header files
│ │ └── native/ # Native implementations
│ ├── windows/ # Windows-specific code
│ ├── linux/ # Linux-specific code
│ └── macos/ # macOS-specific code
├── test/ # Test suite
├── legal/ # Legal notices and licenses
└── CMakeLists.txt # Build configuration
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests for new functionality
- Ensure all tests pass
- Submit a pull request
This project is licensed under the GNU General Public License v2 with the Classpath exception, allowing linking with proprietary software. See the LICENSE file for details.
This project includes code from various open source projects. See the legal/ directory for detailed licensing information for each component.