|
top
|
Subject: RE: SS4.5 103k Bug: DTD to XSD wizard makes bad schema Author: Ivan Pedruzzi Date: 26 Nov 2002 11:36 AM
|
Lee,
After discussing with Alby, this is what I believe is happening
1) it validates
When the validator encounter "Leaf" it knows that it could find
"Flower" too.
The presence of "Leaf" is not ambiguous
minOccurs="0"/>
2) it doesn't validate
When the validator encounter "Leaf" it can not determine what
branch of choice to pick
The presence of "Leaf" is ambiguous
minOccurs="0"/>
Ivan
> -----Original Message-----
> From: stylus-studio-tech Listmanager [mailto:listmanager]
> Sent: Monday, November 25, 2002 6:44 PM
> To: Recipients of 'stylus-studio-tech' suppressed
> Subject: RE: SS4.5 103k Bug: DTD to XSD wizard makes bad schema
>
>
> From: "Lee Humphries"
>
> Hi Ivan,
>
> I've received some advice that
> (Leaf | Flower (Leaf, Flower))
> is actually bad DTD, and
> ((Leaf, Flower?) | Flower)
> is much better. I tried this and it worked after converting to XSD.
>
> However, I also tried
> (Leaf | (Leaf? | Flower))
> and converted that to an XSD and I still got a Unique
> Particle Attribution rule failure.
>
> Any ideas why there's a difference?
>
> Regards, Lee
>
>
>
> To reply: mailto:stylus-studio-tech.6057@edn.exln.com
> To start a new topic: mailto:stylus-studio-tech@edn.exln.com
> To login: http://edn.exln.com/~SSDN
>
>
|
|
|