/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

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!-- this sample comes from XML Schemas - Part 0 : Primer (2nd ed.).
  3. The abstract type isn't handled specifically in the XercesParserImpl.java
  4. code.
  5. This document validates, because the xsi:type of transport is specified.
  6. -->
  7. <transport xmlns="http://cars.example.com/schema"
  8. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  9. xsi:type="Car"
  10. xsi:schemaLocation="http://cars.example.com/schema
  11. abstract_type.xsd"/>