/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
- <?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"/>