[xsd-users] Graphml and <redefine>

Brad Howes howes at ll.mit.edu
Thu May 6 10:21:16 EDT 2010


Does XSD support the <redefine> schema element? I'm trying to process GraphML, and I get 

    graphml.xsd:10:55 unexpected top-level element: 'redefine'

Here's the beginning of the graphml.xsd file:

<?xml version="1.0"?>
<xs:schema   
    targetNamespace="http://graphml.graphdrawing.org/xmlns"
    xmlns="http://graphml.graphdrawing.org/xmlns"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified">

  <xs:redefine schemaLocation="graphml-structure.xsd">

The file graphml-structure.xsd is there, and if I change redefine to include (and strip out the redefinitions) XSD works just fine.

Brad

-- 
Brad Howes
Group 42
MIT Lincoln Laboratory • 244 Wood St. • Lexington, MA 02173
Phone: 781.981.5292 • Fax: 781.981.3495 • Secretary: 781.981.7420








More information about the xsd-users mailing list