Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema/template distinction doesn't work if first xsd element is comment #12

Open
valeriyvan opened this issue Nov 5, 2016 · 0 comments

Comments

@valeriyvan
Copy link
Contributor

valeriyvan commented Nov 5, 2016

If XSD document happens to have comment as first element, like in snippet below, used approach of distinction of schema/template isn't working.

<?xml version="1.0" encoding="UTF-8"?>
<!-- 
	Bundeseinheitlicher Medikationsplan (BMP) (bmp023.xsd)
	2016-07-15 Version 2.3

	verantwortliche Organisationen KBV, DAV und BÄK

   basierend auf Medikationsplan Ultrakurzformat (UKF)
  
   In Zusammenarbeit mit:    
   Bundesverband Deutscher Apothekensoftwarehäuser (ADAS e.V.)
   Bundesverband Gesundheits-IT e.V. (bvitg e.V.)
   HL7 Deutschland e.V.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:element name="MP">
		<xs:annotation>
			<xs:documentation>Bundesmedikationsplan</xs:documentation>
		</xs:annotation>
		<xs:complexType>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant