[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    RE: W3C SVG Schema issues
From:       "Don Stewart" <Don.Stewart () corizon ! com>
Date:       2006-10-20 12:06:12
Message-ID: 5BD8FE2CECF21F43A20CEC1795E1D46905757D () orion2 ! corizon ! com
[Download RAW message or body]

Radu,

Yes I had come to the same conclusion as Stylus Studio definatly
identifies the schema as invalid.

Thanks for taking time to respond.

Don 

-----Original Message-----
From: Radu Preotiuc-Pietro [mailto:radup@bea.com] 
Sent: 18 October 2006 21:22
To: dev@xmlbeans.apache.org
Subject: Re: W3C SVG Schema issues


Actually, the Schema is indeed invalid! Simply click on
www.w3.org/TR/xmlschema-1/#src-attribute and look at rule 3.2 It clearly
states that if "ref" is present, then "type" must be absent, which is
not the case in the Schema in question. SVG schemas are pretty
well-known and src-attribute.3.2 is a pretty basic rule, so I am
surprised this slipped by (may be courtesy of XMLSpy....?). IMO somebody
should point this out to the authors, in the meantime I am sure earlier
versions of this Schema worked fine.

Thanks,
Radu

On Tue, 2006-10-17 at 15:56 +0100, Don Stewart wrote:
> Hi.
>  
> I an trying to generate classes to manipulate the W3C SVG file format.
> I have the schemas but continue to have issues trying to get them to 
> compile.
>  
> I get errors such as:-
>  
> SVG.xsd:344:5: error: src-attribute.3.2: Attribute reference cannot 
> also specify type.
>  
>  
> Does anyone have any ideas how I can cimpile these schema.
> Many Thanks
> 
> Don
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
> For additional commands, e-mail: dev-help@xmlbeans.apache.org
_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic