/bundles/plugins-trunk/XML/test_data/abstract_substitution/abstract_type_instance_ok.xml
XML | 12 lines | 6 code | 1 blank | 5 comment | 0 complexity | d9d7ab441fff3b6bce7af01747837d4a MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
- <?xml version="1.0" encoding="utf-8" ?>
- <!-- this sample comes from XML Schemas - Part 0 : Primer (2nd ed.).
- The abstract type isn't handled specifically in the XercesParserImpl.java
- code.
- This document validates, because the xsi:type of transport is specified.
- -->
- <transport xmlns="http://cars.example.com/schema"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:type="Car"
- xsi:schemaLocation="http://cars.example.com/schema
- abstract_type.xsd"/>