Declare an element. Set name="root" ref="root". Check that the schema is invalid.

http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations


TEST name00401m5 - Both name and ref attributes are set to the same value (invalid schema)

FILES

ItemValue
title name00401m5 - Both name and ref attributes are set to the same value (invalid schema)
name name00401m5
source ../name00401m5.xsd
schemaName ../name00401m5.xsd
keywords schema negative
package javasoft.sqe.tests.elemdecl.name.name00401m.name00401m5


%Copyright% © 2017, 2020 Oracle and/or its affiliates. All rights reserved.