7
XML Conformance Testing Project Members Mary Brady, Project Leader Carmelo Montanez-Rivera Rick Rivello Mark Zimmerman Information Technology Laboratory Software Diagnostics and Conformance Testing Division Standards and Conformance Testing Group

XML Conformance Testing Project Members Mary Brady, Project Leader Carmelo Montanez-Rivera Rick Rivello Mark Zimmerman Information Technology Laboratory

Embed Size (px)

Citation preview

Page 1: XML Conformance Testing Project Members Mary Brady, Project Leader Carmelo Montanez-Rivera Rick Rivello Mark Zimmerman Information Technology Laboratory

XML Conformance Testing

Project Members

Mary Brady, Project Leader

Carmelo Montanez-Rivera

Rick Rivello

Mark Zimmerman

Information Technology LaboratorySoftware Diagnostics and Conformance Testing Division

Standards and Conformance Testing Group

Page 2: XML Conformance Testing Project Members Mary Brady, Project Leader Carmelo Montanez-Rivera Rick Rivello Mark Zimmerman Information Technology Laboratory

Electronic Commerce

XMLTechnologies

B2C(business-to-consumer)

InteractiveTelevision(DASE)

Internet / World Wide Web

B2B(business-to-business)

Manufacturing(ICM)

DistributedLearning

(IMS)

Page 3: XML Conformance Testing Project Members Mary Brady, Project Leader Carmelo Montanez-Rivera Rick Rivello Mark Zimmerman Information Technology Laboratory

HTML or XML?

Figure 1: HTML Purchase Order

<H1>Purchase Order</H1>

<UL>

<LI><b> Mary Brady</b>

<LI>NN Rm 572, Gaithersburg, MD, 20899

<LI>1234

<LI><I>Trees</I>

<LI>50.00

<LI>20

<LI>1000.00

<LI>Be sure to water the root ball day of delivery

<LI>Susan Carscadden

<LI>NIST, Bldg 301, Gaithersburg, MD, 20899

</UL

What is XML?•Domain-specific languages•Data separate from display•Self-describing data•Schemas

<Purchaser><Name> Mary Brady </Name><Address Street=NN Rm 572 City=Gaithersburg,

State=MD Zip=20899</Address></Purchaser><Item><Part_number>1234</Part_number><ItemDescription>Trees</ItemDescription><Cost>50.00</Cost><Quantity>20</Quantity><TotalCost>1000.00</TotalCost><Instructions>Be sure to water the root ball day of

delivery</Instructions></Item><ShipTo><Name>Susan Carscadden</Name><Address Street=NIST, Bldg 301

City=Gaithersburg State=MD Zip=20899</Address>

</ShipTo>

Figure 2: XML Purchase Order

Page 4: XML Conformance Testing Project Members Mary Brady, Project Leader Carmelo Montanez-Rivera Rick Rivello Mark Zimmerman Information Technology Laboratory

XML Technologies

XML Syntax, Information Set, Schema, Linking, Fragment

Registries Repositories

Namespaces

Programming Languages

DOM

Electronic Commerce, Distance Learning, Health CareManufacturing, Interactive Television

TransformationsFormatting Objects

Stylesheets Query Language

Signatures

Information Description

Ratings Libraries Control

Domain Specific

Boa

rds

Med

ical

Edu

catio

n

Pro

cure

men

t

...Aut

o P

arts XML.ORG

BIZTalk

E-BusinessLearning Objects

XML/EDI

... ...

Page 5: XML Conformance Testing Project Members Mary Brady, Project Leader Carmelo Montanez-Rivera Rick Rivello Mark Zimmerman Information Technology Laboratory

XML Conformance Testing

OASIS XML Conformance• Sun, IBM, Fuji Xerox,

DataChannel, MicroStar, W3C members

Why NIST/ITL?• Technical Leadership

• Coalesced industry partners18 months

First Deliverable• XML Test Suite

• XML files & XSL Stylesheet6 months

XML Test Suite•1000 XML Tests

•DTD + 4000 lines of XML•400 lines of XSL Stylesheet

Future Work• XML StyleSheets, Schemas

• XML NS, XLink, XPtrContinued Support

Page 6: XML Conformance Testing Project Members Mary Brady, Project Leader Carmelo Montanez-Rivera Rick Rivello Mark Zimmerman Information Technology Laboratory

DOM Conformance Testing

W3C, OASIS• Sun, IBM, Microsoft, Netscape,

Oracle

XML ‘98• Met with W3C WG Chair

• NIST/ITL asked to develop testsXML ‘98

NIST Released• Fundamental, Extended

(ECMAScript)

• Interactive test harnessJune ‘99

DOM Test Suite• 800 ECMAScript Tests

• 30,000 lines of code

Future Work• Fundamental, Extended (Java)

• HTML (ECMAScript & Java)

• DOM Level 2

Continued Support

Page 7: XML Conformance Testing Project Members Mary Brady, Project Leader Carmelo Montanez-Rivera Rick Rivello Mark Zimmerman Information Technology Laboratory

Summary

• Advances in EC depend on XML• SDCT develops tests to improve XML

products• SDCT applies IT expertise to vertical

markets• Will continue to work in core technology as

well as vertical market arenas• http://www.nist.gov/xml/