mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-26 01:05:38 +00:00
(wip) Umsetzung OHNE Nutzung eines java.nio.Filesystem
This commit is contained in:
parent
7af9b1fdbd
commit
99930a2b0a
14 changed files with 312 additions and 188 deletions
12
src/test/resources/simple/main.xsd
Normal file
12
src/test/resources/simple/main.xsd
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<schema xmlns:ref="http://www.example.org/reference" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.example.org/main"
|
||||
elementFormDefault="qualified">
|
||||
|
||||
<import namespace="http://www.example.org/reference" schemaLocation="./resources/reference.xsd" />
|
||||
|
||||
<complexType name="MainType">
|
||||
<sequence>
|
||||
<element name="ref" type="ref:ReferenzTyp"></element>
|
||||
</sequence>
|
||||
</complexType>
|
||||
</schema>
|
||||
9
src/test/resources/simple/resources/reference.xsd
Normal file
9
src/test/resources/simple/resources/reference.xsd
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.example.org/reference" xmlns:tns="http://www.example.org/reference" elementFormDefault="qualified">
|
||||
|
||||
<complexType name="ReferenzTyp">
|
||||
<sequence>
|
||||
<element name="some" type="string"></element>
|
||||
</sequence>
|
||||
</complexType>
|
||||
</schema>
|
||||
Loading…
Add table
Add a link
Reference in a new issue