Presentation is loading. Please wait.

Presentation is loading. Please wait.

How abstract components are created when reading a schema – an animation in 12 slides -- schemas that use and July 26, 2002 5:00pm This presentation will.

Similar presentations


Presentation on theme: "How abstract components are created when reading a schema – an animation in 12 slides -- schemas that use and July 26, 2002 5:00pm This presentation will."— Presentation transcript:

1 How abstract components are created when reading a schema – an animation in 12 slides -- schemas that use and July 26, :00pm This presentation will probably involve audience discussion, which will create action items. Use PowerPoint to keep track of these action items during your presentation In Slide Show, click on the right mouse button Select “Meeting Minder” Select the “Action Items” tab Type in action items as they come up Click OK to dismiss this box This will automatically create an Action Item slide at the end of your presentation with your points entered. org.eclipse.xsd XML Schema Infoset Model begin If not full screen and not running in Internet Explorer, Press F5 to begin… © 2002 by IBM Corporation

2 Parse of a top level schema document. s2.xsd: s3.xsd: Now let’s follow how the abstract schema components are built, by getting “blank” objects from XSDFactory, We’ll follow this example: setting their properties,linking them to each other, and making them part of the right schema…

3 Parse of s1 XSDSchema targetNamespace: incorporatedVersions: list XSDFactory t1 content createXSDSchema() setTargetNamespace(“t1”)

4 Parse of s1 XSDSchema targetNamespace: incorporatedVersions: list XSDFactory t1 content: Suspend parse of s1.xsd. Begin parse of s3.xsd

5 Parse of s3 XSDSchema targetNamespace: incorporatedVersions: list XSDFactory t1 content: XSDSchema targetNamespace: incorporatedVersions: list content: createXSDSchema() setTargetNamespace(“t1”) t1

6 Parse of s3 XSDSchema targetNamespace: incorporatedVersions: list XSDFactory t1 content: XSDElementDeclaration name: targetNamespace: typeDefinition: isSetAnonymousTypeDefinition: false t1e2 t1 XSDSimpleTypeDefinition name: string targetNamespace: Not shown is that the Schema for Schemas becomes one of the incorporated schemas XSDSchema targetNamespace: MLSchema content: createXSDElementDeclaration() setTargetNamespace(“t1”) setName(“t1e2”) setTypeDefinition( ) getContents( ).add() t1 XSDSchema targetNamespace: incorporatedVersions: list content:

7 Parse of s3 XSDSchema targetNamespace: incorporatedVersions : list XSDFactory t1 content: XSDElementDeclaration name: targetNamespace: typeDefinition: isSetAnonymousTypeDefinition: false t1e2 t1 Finished parsing of s3.xsd. Resume parsing of s1.xsd XSDSimpleTypeDefinition name: string targetNamespace: XSDSchema targetNamespace: incorporatedVersions : list content: t1

8 Parse of s1 XSDFactory XSDElementDeclaration name: targetNamespace: typeDefinition: isSetAnonymousTypeDefinition: false t1e2 t1 Suspend parsing of s1.xsd. Begin parsing of s2.xsd XSDSimpleTypeDefinition name: string targetNamespace: XSDSchema targetNamespace: incorporatedVersions : list t1 content: XSDSchema targetNamespace: incorporatedVersions : list content: t1

9 Parse of s2 XSDFactory XSDElementDeclaration name: targetNamespace: typeDefinition: isSetAnonymousTypeDefinition: false t1e2 t1 XSDSchema targetNamespace: incorporatedVersions: list t2 content: XSDSimpleTypeDefinition name: string targetNamespace: createXSDSchema() XSDSchema targetNamespace: incorporatedVersions : list t1 content: XSDSchema targetNamespace: incorporatedVersions : list content: t1

10 Parse of s2 XSDFactory XSDElementDeclaration name: targetNamespace: typeDefinition: isSetAnonymousTypeDefinition: false t1e2 t1 XSDSchema targetNamespace: incorporatedVersions: list t2 content: XSDElementDeclaration name: targetNamespace: typeDefinition: isSetAnonymousTypeDefinition: false t2e1 t2 XSDSimpleTypeDefinition name: string targetNamespace: XSDSchema targetNamespace: incorporatedVersions : list t1 content: XSDSchema targetNamespace: incorporatedVersions : list content: t1

11 Parse of s2 XSDFactory XSDElementDeclaration name: targetNamespace: typeDefinition: isSetAnonymousTypeDefinition: false t1e2 t1 XSDSchema targetNamespace: incorporatedVersions: list t2 content: XSDElementDeclaration name: targetNamespace: typeDefinition: isSetAnonymousTypeDefinition: false t2e1 t2 Finished parsing of s2.xsd. Resume parsing of s1.xsd XSDSimpleTypeDefinition name: string targetNamespace: XSDSchema targetNamespace: incorporatedVersions : list t1 content: XSDSchema targetNamespace: incorporatedVersions : list content: t1

12 Parse of s1 XSDFactory XSDElementDeclaration name: targetNamespace: typeDefinition: isSetAnonymousTypeDefinition: false t1e2 t1 XSDSchema targetNamespace: incorporatedVersions: list t2 content: XSDElementDeclaration name: targetNamespace: typeDefinition: isSetAnonymousTypeDefinition: false t2e1 t2 XSDElementDeclaration name: targetNamespace: typeDefinition: isSetAnonymousTypeDefinition: false t1e1 t1 XSDSchema targetNamespace: incorporatedVersions : list t1 content: XSDSchema targetNamespace: incorporatedVersions : list content: t1

13 Parse of s1 XSDFactory XSDElementDeclaration name: targetNamespace: typeDefinition: isSetAnonymousTypeDefinition: false t1e2 t1 XSDSchema targetNamespace: incorporatedVersions: list t2 content: XSDElementDeclaration name: targetNamespace: typeDefinition: isSetAnonymousTypeDefinition: false t2e1 t2 XSDElementDeclaration name: targetNamespace: typeDefinition: isSetAnonymousTypeDefinition: false t1e1 t1 XSDSchema targetNamespace: incorporatedVersions : list t1 content: XSDSchema targetNamespace: incorporatedVersions : list content: t1


Download ppt "How abstract components are created when reading a schema – an animation in 12 slides -- schemas that use and July 26, 2002 5:00pm This presentation will."

Similar presentations


Ads by Google