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 2001/09/19 18:43:14 UTC

DO NOT REPLY [Bug 3701] - Pb on attribute value

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

francois.tartanson@alcatel.fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Other                       |Medium



------- Additional Comments From francois.tartanson@alcatel.fr  2001-09-19 09:43 -------
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: xerces-j-dev@xml.apache.org
        ReportedBy: francois.tartanson@alcatel.fr


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: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org