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=3701>.
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=3701

Pb on attribute value

           Summary: Pb on attribute value
           Product: Xerces2-J
           Version: 2.0.0 [beta]
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: SAX
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


public void startElement  
                ( String uri_
                , String localName_
                , String qName_
                , Attributes atts_
                )
        throws SAXException
        {
                String elementName=atts_.getValue("name");

=======================
The attribute is found only if it is the last one in the list.
That code worked well with version 1.

Example that does not work:

<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/1999/XMLSchema"; 
targetNamespace="http://www.alcatel.fr/NAD/AD/FRPL";>
   <xsd:include schemaLocation="common-typesFRPL.xsd"/>
   <!-- Document element declaration: root of the XML Document -->
   <xsd:element name="FRPLProject" type="FRPLProjectType" />

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to