Chapter 17: Identity constraints ================================ Example 17-10 Illegal attempt to apply default namespace to XPath ----------------------------------------------------------------- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter17/example1710.xsd :language: xml :lines: 3- .. warning:: Unsupported feature! Example 17-11 Using xpathDefaultNamespace ----------------------------------------- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter17/example1711.xsd :language: xml :lines: 3- .. warning:: Unsupported feature! Example 17-12 Referencing an identity constraint ------------------------------------------------ .. literalinclude:: /../tests/fixtures/defxmlschema/chapter17/example1712.xsd :language: xml :lines: 3- .. warning:: Unsupported feature! Example 17-13 Referencing an identity constraint in a restriction ----------------------------------------------------------------- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter17/example1713.xsd :language: xml :lines: 3- .. warning:: Unsupported feature! Example 17-2 A uniqueness constraint ------------------------------------ .. literalinclude:: /../tests/fixtures/defxmlschema/chapter17/example1702.xsd :language: xml :lines: 3- .. warning:: Unsupported feature! Example 17-4 Constraining uniqueness of two combined fields ----------------------------------------------------------- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter17/example1704.xsd :language: xml :lines: 3- .. warning:: Unsupported feature! Example 17-5 Defining a key on product number --------------------------------------------- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter17/example1705.xsd :language: xml :lines: 3- .. warning:: Unsupported feature! Example 17-7 Defining a key reference on product number ------------------------------------------------------- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter17/example1707.xsd :language: xml :lines: 3- .. warning:: Unsupported feature! Example 17-8 Illegal uniqueness constraint ------------------------------------------ .. literalinclude:: /../tests/fixtures/defxmlschema/chapter17/example1708.xsd :language: xml :lines: 3- .. warning:: Unsupported feature! Example 17-9 Prefixing names in the XPath expression ---------------------------------------------------- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter17/example1709.xsd :language: xml :lines: 3- .. warning:: Unsupported feature! .. admonition:: Samples Source :class: hint `Definitive XML Schema `_ by Priscilla Walmsley (c) 2012 Prentice Hall PTR