W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2003

Re: XSD invalid attribute 'use' in element 'attribute [xsd/java/oracle]

From: Piotr Puszcz <proint@poczta.onet.pl>
Date: Wed, 12 Feb 2003 22:10:27 +0100
Message-ID: <011c01c2d2db$2f71e7a0$70294cd4@puszczyk>
To: <xmlschema-dev@w3.org>
hi Paul,
    did you manage to solve that problem somehow? I know that if the xsd doc would be inlined, like this:

<?xml version="1.0" encoding="ISO-8859-2"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="PERSON">
            <xs:attribute name="NAME" type="xs:string" use="required"/>

everything is fine. But i need to have an opportunity to define my own types of elements and attrs, because the schema i am working at is ratcher more complicated then this example. i would be very uncomfortable to repeat the same definitions as the attribute or element of specific type comes up (for example non xsd:standard date or enumeration fields like sex or marital status).

what does this zip file contain? is there workaround of this (maybe bug) there. then i would very appriciate your help and this zip of course.


Tanie bilety lotnicze!
Received on Tuesday, 11 February 2003 16:11:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:09 UTC