You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/12/28 07:11:09 UTC
DO NOT REPLY [Bug 15694] New: -
schema barely works
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15694>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15694
schema barely works
Summary: schema barely works
Product: Xerces2-J
Version: 2.2.1
Platform: All
OS/Version: Linux
Status: NEW
Severity: Major
Priority: Other
Component: XML Schema datatypes
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: lizzy@soggytrousers.net
hi,
On a GNU/Linux ppc system running j2sdk1.3, the following schema and instance
document should be invalid:
<?xml version="1.0"?>
<!-- simple.xsd -->
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
>
<xs:element name="test">
<xs:complexType>
<xs:sequence>
<xs:element name="interior-one" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
<?xml version="1.0"?>
<test
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="simple.xsd">
<eouthoeunt>funny named elemetn</eouthoeunt>
</test>
$ java sax.Counter -s simple.xml
simple.xml: 5762 ms (2 elems, 1 attrs, 0 spaces, 23 chars)
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org