[Mono-bugs] [Bug 361818] Validation of XML file with advanced Schema

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Feb 19 08:37:59 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=361818

User atsushi at ximian.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=361818#c8





--- Comment #8 from Atsushi Enomoto <atsushi at ximian.com>  2008-02-19 06:37:59 MST ---
Cool, the latest one reproduced the issue :)

Now I dug into the relevant schemas and reduced the total schemas into these 3
files:

---- EMessage.xsd --------------------------------

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema
targetNamespace="http://rep.oio.dk/sundcom.dk/medcom.dk/xml/schemas/2005/08/07/"
xmlns="http://rep.oio.dk/sundcom.dk/medcom.dk/xml/schemas/2005/08/07/"
xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
attributeFormDefault="unqualified">
        <xs:include schemaLocation="Letters.xsd"/>
</xs:schema>

---- Letters.xsd ----------------------------------

<xs:schema
targetNamespace="http://rep.oio.dk/sundcom.dk/medcom.dk/xml/schemas/2005/08/07/"
xmlns="http://rep.oio.dk/sundcom.dk/medcom.dk/xml/schemas/2005/08/07/"
xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
attributeFormDefault="unqualified">
        <xs:include schemaLocation="HospitalReferral.xsd"/>
        <xs:group name="Letters">
                <xs:choice>
                        <xs:element ref="HospitalReferral"/>
                </xs:choice>
        </xs:group>
</xs:schema>

---- HospitalReferral.xsd --------------------------

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://rep.oio.dk/sundcom.dk/medcom.dk/xml/schemas/2005/08/07/"
targetNamespace="http://rep.oio.dk/sundcom.dk/medcom.dk/xml/schemas/2005/08/07/"
elementFormDefault="qualified" attributeFormDefault="unqualified">
  <xs:element name="HospitalReferral" />
</xs:schema>


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list